DNS record diff
Paste a zone file and compare it with what the domain's nameservers answer right now. Useful before and after a migration. To compare two zone files instead, use the zone diff.
What the DNS record diff compares
This tool takes a BIND zone file and compares each record set in it with what the domain’s own nameservers answer right now. It parses the file, then asks the first authoritative nameserver for the domain about every queryable record (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, PTR, HTTPS, SVCB, TLSA, SSHFP, NAPTR and DS), and lines the two up name by name. It compares up to 150 record sets in one run.
How to use it
Enter the domain (for example example.com) and paste the zone file. The zone’s apex must match the domain you enter. A minimal file looks like this:
$ORIGIN example.com.
$TTL 3600
@ IN A 192.0.2.10
www IN A 192.0.2.10
api IN A 192.0.2.20
IN MX 10 mail.example.com.Reading the results
Each row carries a status badge: Matches (file and live agree), Differs (both have the record but the values are not identical), Not live (the record is in the file but the nameserver returns nothing), or No answer (the query errored). The default view hides matches so you see only differences. The header names the nameserver that was queried and how many record sets were compared; if the file has more than 150, the extra ones are skipped and noted.
What it can miss
It queries one authoritative nameserver directly, so it reflects that server’s current zone, not what a random resolver on the internet has cached. Records of types outside the queryable list, and apex NS records, are not compared. Lines the parser cannot read are skipped and counted separately.
Next steps
- To compare two zone files instead of file-versus-live, use the zone diff.
- To check whether resolvers around the internet have picked up a change, use the propagation checker.
- Exporting a zone file to compare is covered in how to export a DNS zone file.