Find your authoritative nameservers
BASH
dig NS example.com +shortTEXT
# Illustrative output format
ns1.example.com.
ns2.example.com.
ns3.example-dns.net.Query each NS directly with dig
dig with the @server syntax to send your query straight to each authoritative nameserver. Add +norec to tell the server not to recurse on your behalf (it should not, since it is authoritative, but the flag makes intent explicit).
Say you changed an A record for app.example.com. Query each NS one by one:
BASH
# Query each authoritative NS directly
dig @ns1.example.com A app.example.com +norec +short
dig @ns2.example.com A app.example.com +norec +short
dig @ns3.example-dns.net A app.example.com +norec +short+short flag and look at the full answer. Pay attention to two things in the response:
- The SOA serial number. Every zone file has a serial in its SOA (Start of Authority) record. When you update a zone, the serial should increment. If ns2 reports a lower serial than ns1, ns2 is serving an older version of the zone.
- The
aaflag. The response header should includeflags: ... aa, meaning the server considers itself authoritative for this zone. If theaaflag is missing, something is wrong with how that server is configured for your domain.
BASH
dig @ns1.example.com SOA example.com +norec +short
dig @ns2.example.com SOA example.com +norec +shortWhy one NS might not load the updated zone
named-checkzone example.com /etc/bind/zones/db.example.comvalidates the file and reports errors with line numbers.- After fixing errors, reload with
rndc reload example.comor, for a secondary, trigger a fresh transfer withrndc retransfer example.com.
/var/log/syslog or wherever you have configured the xfer-in logging channel.
SOA serial not incremented. DNS secondaries decide whether to pull a new zone by comparing the SOA serial from the primary against their local copy. If you edited the zone file but forgot to bump the serial, secondaries see no reason to transfer. This is a classic mistake when editing zone files manually. Some DNS server configurations auto-increment the serial, but many do not.
NOTIFY not reaching the secondary. When a primary zone changes, BIND and most other authoritative servers send a NOTIFY message to all NS records in the zone, telling them to check for updates. If NOTIFY is blocked by a firewall or not configured, the secondary waits until the SOA refresh interval expires before checking. That interval might be set to hours. You can check the refresh value in the SOA record itself.
For more on how partial zone loads from race conditions can produce half-updated records, see Race Condition di Config DNS Authoritative Bisa Bikin Record Setengah Jadi — Begini Prosesnya.
Distinguish NS-level staleness from resolver caching
A quick verification loop
- Validate the zone file before applying it. Use your DNS server's built-in checker.
- Reload or trigger transfer on the primary, then on each secondary.
- Query each NS directly for the changed record and for the SOA serial. Confirm all return the same data.
- Check the
aaflag in each response to confirm authoritative status. - If any NS disagrees, check that server's logs for zone load errors or transfer failures.
- Once all NS agree, remaining staleness is resolver caching. Wait for old TTL to expire, or if urgent, some public resolvers offer cache flush tools.
When managed DNS hides the details
dig @ns1.provider.com to verify they all agree. If they do not, the issue is on the provider's side, and you need to open a support ticket with the evidence: the differing responses from each NS, including SOA serials.
Some managed DNS platforms expose an API that returns the current zone state. Comparing the API response against what each NS actually serves can reveal whether the change was accepted by the control plane but not yet pushed to all edge nodes.
Takeaway
aa flag. Most "propagation" problems are not propagation problems at all. They are zone load failures on one or more nameservers, silently serving the last good version of a zone that failed to update. Fix the NS, and the internet catches up on its own.