3 ms·
> if omitted, BIND will assume that the record being specified is of class IN I thought that BIND defaults to the class of the previous record, which was why I
by teddyh 6y ago
> if omitted, BIND will assume that the record being specified is of class IN
I thought that BIND defaults to the class of the previous record, which was why IN is usually specified on the SOA record, which, being the first record in a zone file, makes the IN class implicit for every following records.
- fanf2 6y agoThe class is a property of the zone as a whole, and it's usually known up front before the zone is loaded. So it's completely redundant in zone files. You're right that the class is copied from the previous record if it isn't mentioned. (This behavious is required by the standard, it isn't specific to BIND.) But the catch is that it's an error if you use a different class :-)