Compare the SOA serial on all nameservers
secondary nameserver out of sync | check if zone updated on slave | nameservers return different answers | dig | dns | soa | nameserverfor ns in $(dig +short example.com NS); do echo "$ns $(dig +short @$ns example.com SOA | awk '{print $3}')"; doneFinds all nameservers of the domain and prints the serial number from the SOA record for each one. Different numbers show that a secondary has not yet picked up the latest zone change. Resolvers then return old or new answers depending on which nameserver they ask.
Also searched as
- secondary nameserver out of sync
- check if zone updated on slave
- nameservers return different answers