DNS trace & propagation checker.

The three terminals in one page: a dig +trace from the root servers down to the authoritative answer, the same question put to every authoritative nameserver with its zone serial, and what the public resolvers are caching right now. When one resolver sees the new record and another is clinging to the old one, this shows which, why, and how long until it lets go.

Traced _dmarc.google.com. TXT from the root in 3 hops JSON · text

Authoritative answer "v=DMARC1; p=reject; rua=mailto:[email protected]" from the servers for google.com.
Public resolvers All 4 resolvers agree with the authoritative servers Cloudflare, Google, Quad9, OpenDNS
Authoritative servers 4 in the delegation all answer the same, same serial

Delegation path iterative, from the root hints, no recursion

  1. 0 referral . delegates com. asked k.root-servers.net. 193.0.14.129 · 7.9ms · NOERROR

    a.gtld-servers.net. · b.gtld-servers.net. · c.gtld-servers.net. · d.gtld-servers.net. · e.gtld-servers.net. · f.gtld-servers.net. · g.gtld-servers.net. · h.gtld-servers.net. · i.gtld-servers.net. · j.gtld-servers.net. · k.gtld-servers.net. · l.gtld-servers.net. · m.gtld-servers.net.

    26 glue records (addresses the parent hands out for those nameservers)
    a.gtld-servers.net.A192.5.6.30
    b.gtld-servers.net.A192.33.14.30
    c.gtld-servers.net.A192.26.92.30
    d.gtld-servers.net.A192.31.80.30
    e.gtld-servers.net.A192.12.94.30
    f.gtld-servers.net.A192.35.51.30
    g.gtld-servers.net.A192.42.93.30
    h.gtld-servers.net.A192.54.112.30
    i.gtld-servers.net.A192.43.172.30
    j.gtld-servers.net.A192.48.79.30
    k.gtld-servers.net.A192.52.178.30
    l.gtld-servers.net.A192.41.162.30
    m.gtld-servers.net.A192.55.83.30
    a.gtld-servers.net.AAAA2001:503:a83e::2:30
    b.gtld-servers.net.AAAA2001:503:231d::2:30
    c.gtld-servers.net.AAAA2001:503:83eb::30
    d.gtld-servers.net.AAAA2001:500:856e::30
    e.gtld-servers.net.AAAA2001:502:1ca1::30
    f.gtld-servers.net.AAAA2001:503:d414::30
    g.gtld-servers.net.AAAA2001:503:eea3::30
    h.gtld-servers.net.AAAA2001:502:8cc::30
    i.gtld-servers.net.AAAA2001:503:39c1::30
    j.gtld-servers.net.AAAA2001:502:7094::30
    k.gtld-servers.net.AAAA2001:503:d2d::30
    l.gtld-servers.net.AAAA2001:500:d937::30
    m.gtld-servers.net.AAAA2001:501:b1f9::30
  2. 1 referral com. delegates google.com. asked j.gtld-servers.net. 192.48.79.30 · 14.6ms · NOERROR

    ns2.google.com. · ns1.google.com. · ns3.google.com. · ns4.google.com.

    8 glue records (addresses the parent hands out for those nameservers)
    ns2.google.com.AAAA2001:4860:4802:34::a
    ns2.google.com.A216.239.34.10
    ns1.google.com.AAAA2001:4860:4802:32::a
    ns1.google.com.A216.239.32.10
    ns3.google.com.AAAA2001:4860:4802:36::a
    ns3.google.com.A216.239.36.10
    ns4.google.com.AAAA2001:4860:4802:38::a
    ns4.google.com.A216.239.38.10
  3. 2 answer google.com. asked ns2.google.com. 216.239.34.10 · 17.2ms · NOERROR aa
    _dmarc.google.com.300TXT"v=DMARC1; p=reject; rua=mailto:[email protected]"

Authoritative servers every nameserver for google.com., asked directly

StatusServerSerialAnswer
match ns2.google.com.216.239.34.10 · 17.6ms 985880970 "v=DMARC1; p=reject; rua=mailto:[email protected]"
match ns4.google.com.216.239.38.10 · 8.3ms 985880970 "v=DMARC1; p=reject; rua=mailto:[email protected]"
match ns3.google.com.216.239.36.10 · 12.8ms 985880970 "v=DMARC1; p=reject; rua=mailto:[email protected]"
match ns1.google.com.216.239.32.10 · 14.2ms 985880970 "v=DMARC1; p=reject; rua=mailto:[email protected]"

Public resolvers what each one is serving from cache right now

StatusResolverAnswerCache
match Cloudflare1.1.1.1 · 9.8ms "v=DMARC1; p=reject; rua=mailto:[email protected]" ttl 202 Same answer, cached 1m 38s ago; re-fetches in 3m 22s.
match Google8.8.8.8 · 15.2ms "v=DMARC1; p=reject; rua=mailto:[email protected]" ttl 300 Same answer, freshly fetched.
match Quad99.9.9.9 · 20.2ms "v=DMARC1; p=reject; rua=mailto:[email protected]" ttl 300 Same answer, freshly fetched.
match OpenDNS208.67.222.222 · 19.7ms "v=DMARC1; p=reject; rua=mailto:[email protected]" ttl 300 Same answer, freshly fetched.

Findings

  • pass
    Authoritative answer "v=dmarc1; p=reject; rua=mailto:[email protected]"

    From the servers for google.com., TTL 5m 0s. This is what every resolver converges on.

  • pass
    Delegation 4 nameservers

    The parent zone and the zone itself list the same nameservers.

  • pass
    Glue 8 of 8 records match

    Every address the parent hands out for the nameservers matches what the zone itself publishes.

  • pass
    Authoritative servers 4 of 4 answered

    Every nameserver in the delegation responded.

  • pass
    Zone serial 985880970 on every server

    All nameservers hold the same version of the zone.

  • pass
    Public resolvers 4 of 4 match

    Cloudflare, Google, Quad9 and OpenDNS all return the authoritative answer. If a user still sees something else, their ISP's resolver or their own machine is caching it.

The same walk from your own machine: dig +trace +additional _dmarc.google.com TXT

About this tool

This server does what a recursive resolver does when its cache is empty, and shows you every step. It asks a root server for the name with recursion switched off, gets a referral to the top-level domain's servers plus their addresses (glue), asks one of those, gets a referral to your zone's servers, and asks one of those for the record. That last answer, with the authoritative flag set, is the truth every resolver in the world eventually converges on. It is exactly what dig +trace +additional prints, laid out so the referral, the glue and the answer are distinguishable without knowing the format.

Then it does two things dig does not. It asks every nameserver in the delegation for the record and for the zone's SOA serial, so a secondary that has not picked up the latest change shows up as a different serial and a different answer. And it asks the four large public resolvers with recursion on, compares what they are serving against the authoritative answer, and turns the TTL each one returns into "cached this long ago, expires in this long". A resolver marked stale is not broken; it is doing what TTLs tell it to. The number next to it is how long you have to wait.

What the trace reports

SectionWhat to look for
Delegation pathOne hop per zone: root, TLD, your zone (and any zone in between). Each shows which server answered, how fast, the NS set it referred you to and the glue it handed out. The final hop carries the authoritative answer, or the SOA that accompanies a negative one.
Authoritative serversEach nameserver in the delegation asked directly, with its SOA serial and its answer. They should be identical. A lower serial on one server is a secondary that has not transferred the zone; an answer without the authoritative flag is a lame server.
Public resolversCloudflare, Google, Quad9 and OpenDNS with recursion on. Match means the same answer as the authoritative servers; the cache column says how long ago it was fetched and when it will be refreshed. Stale means the previous answer is still being served, and for how much longer.
FindingsDelegation (parent NS set versus the zone's own), glue (parent's addresses versus the zone's records), servers answering, serials in agreement, lame delegation, resolver consistency.

Check DNS propagation

"Propagation" is cache expiry. When you change a record, nothing is pushed anywhere; every resolver that had the old value keeps serving it until the TTL it cached runs out, then asks again. So the question "has it propagated" has a precise answer: which resolvers still hold the old value, and how many seconds are left on each. That is the Public resolvers table. A resolver showing the new value with the full TTL has refreshed. One showing the old value with 4,000 seconds left will keep doing so for a bit over an hour, and there is nothing to be done about it from your side, which is why you lower the TTL a day before a change rather than after. The longer explanation is how long DNS propagation takes.

Two things this catches that a single-resolver lookup does not. First, a change that has propagated to resolvers but not to all of your own nameservers: the authoritative table shows one server on the old serial, and any resolver that happens to ask that one will get the old answer again after it refreshes. Second, a negative cache: a name you looked up before creating it is remembered as not existing for the SOA's negative TTL, and the resolver will say so until that runs out.

Stale glue and delegation mismatches

When your nameservers are inside the zone they serve (ns1.example.com serving example.com), a resolver cannot look up their addresses without already knowing them. The parent zone breaks the loop by handing out their addresses alongside the referral: glue. Glue is set at the registrar as "host records" or "child nameservers", and it is the thing people forget when they move a nameserver. The zone says ns1 is at the new address; the parent still says the old one. Resolvers that trust the parent's glue reach a dead server or, worse, whoever has that address now. The Glue finding compares every address the parent hands out with what the zone itself publishes, and names the one that moved.

The Delegation finding compares the NS set at the parent (what the registrar published) with the NS set in the zone (what your DNS provider serves). They should be identical. When they differ, resolvers are free to use either, which produces the maddening pattern where a name works from one network and not another. The usual cause is a nameserver change made in one place and not the other.

The dig incantations this replaces

CommandWhat it shows
dig +trace +additional example.com AThe delegation path from the root, with glue. What the Delegation path section shows.
dig @ns1.example.com example.com SOA +norecurseThe zone serial on one authoritative server. Run once per nameserver and compare: the Authoritative servers table.
dig @1.1.1.1 example.com A, then @8.8.8.8, @9.9.9.9What each public resolver is caching, with remaining TTL. The Public resolvers table.
dig +norecurse @a.gtld-servers.net example.com NSThe delegation and glue as the parent sees it. Compare with dig @ns1.example.com example.com NS for the child's view: the Delegation and Glue findings.
dig example.com NS +nssearchSOA serial from every nameserver in one go. Rarely remembered, and it uses the system resolver to find them.

Common problems this finds

Examples

From the command line

curl "kirkdiamond.com/tools/dns-trace?name=example.com&type=MX" prints the trace in dig's layout followed by the server and resolver tables; add &format=json for the structured version. Queries go straight to the root servers, the delegated nameservers and the four public resolvers, with recursion off for the walk and on for the resolvers. Nothing about the query is stored.