DNS trace: follow a lookup from the root to the answer

GitHubVersion 1.1.0

Enter a name and record type to follow the lookup from the root servers down to the answer, the way dig +trace does. Each step shows which server was asked and where it pointed next, so you can see where a lookup stops.

Record type

How to read the trace

Each numbered step is one server the trace asked. A step either points to the nameservers for the next zone down, which is called a referral, or ends the trace. The last step gives the answer, says the name doesn't exist, says there's no record of that type, or shows an error.

If a server doesn't answer, the trace tries up to 3 servers for that step and lists the failed tries.

www.github.com, A record

Example

  1. The root nameserver points to the nameservers for .com.
  2. The .com nameserver points to the nameservers for github.com. One of them is ns-421.awsdns-52.com.
  3. The nameserver for github.com answers. www.github.com is an alias for github.com, which is at 20.207.73.82.

Checked on 9 October 2026.

How does a DNS trace work?

It asks each server directly, starting at the root, instead of asking a resolver. A resolver does the same walk for you, but it keeps copies and may hand back a saved answer. The trace keeps no copies, so it shows what the servers publish right now.

DNS is split into zones. The root servers know who runs .com, the .com servers know who runs example.com, and that domain's own nameservers hold its records.

Where can a trace stop, and what does it mean?

Where it stopsUsual cause
At the rootThe top-level domain doesn't exist, or no root server could be reached.
At the top-level domainThe domain isn't in the registry's zone. It may not be registered, may have expired, or may be on hold.
Before the domain's nameserversThe referral named nameservers, but none had a reachable public address.
At the domain's nameserversRead the response. NXDOMAIN means the name doesn't exist. SERVFAIL, REFUSED, or no reply means the server isn't answering properly.
After an aliasThe alias target doesn't exist, can't be reached, or points back in a loop.

A name doesn't need every record type, so "returned no AAAA record" is often fine. DNS lookup explains each response code.

What is glue in a trace?

Glue is a nameserver's address, sent along with a referral. The parent zone includes it when a nameserver's name sits inside the domain it serves, such as ns1.example.com for example.com. Without it, nobody could find that nameserver's address. The nameserver checker tests whether the glue is right.

Should I use a trace or a lookup?

Use DNS lookup to see the answer people get from resolvers. Use the trace when a lookup fails and you need to see where, or after you change nameservers at your registrar.

The trace doesn't check DNSSEC signatures. The DNSSEC checker does.

The trace sends the name straight from stack127's server to the root, top-level domain, and domain nameservers. stack127 doesn't keep the names you check.