3 ms·
> When you hit “save”, the serial number (se) incremented to reflect the change. As clients everywhere evicted their last-retrieved cached copy of the pets.com
by js2 8y ago
> When you hit “save”, the serial number (se) incremented to reflect the change. As clients everywhere evicted their last-retrieved cached copy of the pets.com zone, your new change (with its new serial) bubbled out across the internet, and some indeterminate time later it finished going “live”.
This sorta implies the serial number has something to do with the caching mechanism, but it doesn’t. Record caching is based on the record TTLs only (which the author later mentions).
The serial number was originally used by the BIND master/slave replication mechanism for zone files (so called “zone transfers”[0]), which occur out of band of normal DNS lookups. Other name servers could use it for similar purposes, since the serial number is required in the SOA record, but I don’t know if an so. (In fact, the formatting shown for zone files is specific to BIND. Other name server implementations have their own ways of storing the zone records.)
This entire piece is written in a way that gives me a feeling that the author doesn’t fully understand DNS.
That said, I do somewhat blame the original DNS RFCs. For a long time BIND was the only name server implementation, and the RFCs themselves reflect this with RFC 883 and its updates being as much about BIND itself as about DNS. The DNS RFCs are kinda unusual in that way. It would be like there being an RFC for a specific httpd implementation as part of the http RFCs.
[0] https://cr.yp.to/djbdns/axfr-notes.html https://cr.yp.to/djbdns/axfr-notes.html
- teddyh 8y ago> [The article] sorta implies the serial number has something to do with the caching mechanism, but it doesn’t. I agree, as I said yesterday in my sibling comment. > In fact, the formatting shown for zone files is specific to BIND. No, the format is a standardized (defined by RFC 1035 section 5) serialization format for zone data, called Master File format. It is used as an interchange format for zone file data. It may (or may not) have originated with BIND, but that is beside the point. It is not, and should not be seen as, being specific to Bind in any way. Is is analogous to JSON for DNS data.
- js2 8y agoAs I wrote, RFC 883 and its updates (such as 1035) are an odd mix of DNS specifications and BIND implementation details. Which servers besides BIND use that master file format?
- teddyh 8y agoWikipedia says¹: “[Master file format] has been widely adopted by other DNS server software – though some of them (e.g. NSD, PowerDNS) are using the zone files only as a starting point […]” 1. https://en.wikipedia.org/w/index.php?title=Zone_file&oldid=863467828#File_format https://en.wikipedia.org/w/index.php?title=Zone_file&oldid=8...