Use them when names do not resolve, answers are stale or negative, responses are truncated, or DNSSEC validation fails.
DNS Protocol Reference
These references follow a DNS answer from the resolver through delegation to the authoritative server, including caching and response size.
client → resolver → root → TLD → authoritative → cached answer
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
dig +trace example.comSubtopics
Go one level deeper into this subject.
The DNS header exposes query/response direction, opcode, authoritative/truncated/recursion flags and the RCODE used to interpret resolver behavior.
Subtopic DNS Resource Record Field ReferenceDNS resource records contain owner name, type, class, TTL, RDLENGTH and type-specific RDATA.
Subtopic DNS SOA Field ReferenceThe SOA record identifies the zone primary name server, responsible mailbox and timing values used for zone versioning and negative caching semantics.
Subtopic DNS Recursive Resolution JourneyRecursive DNS resolution walks from a client resolver through recursive cache behavior and, on a miss, toward root, TLD and authoritative data before returning a final answer.
Subtopic DNS Delegation & GlueA DNS delegation uses NS records in the parent zone to point toward authoritative servers; glue addresses are parent-side address records used when needed to reach in-bailiwick nameservers.
Subtopic DNS Negative CachingDNS can cache negative answers such as NXDOMAIN or no-data responses, causing a corrected authoritative record to remain unseen until the negative cache expires.
Subtopic DNS Truncation & TCP FallbackDNS commonly starts over UDP, but a truncated response can signal that the client should retry using TCP for the complete answer.
Subtopic DNS EDNS(0) EvidenceEDNS extends DNS by adding an OPT pseudo-record that carries UDP payload size and extensible flags/options.
Subtopic DNSSEC Packet EvidenceDNSSEC adds signatures and validation metadata so a resolver can validate authenticity/integrity of DNS data when the trust chain is available.
- NXDOMAIN and NODATA are cached for the SOA negative TTL.
- TC=1 makes the resolver retry over TCP.
- Missing glue breaks in-zone name servers.
dig <name> +trace— delegationnslookup <name> <server>— specific servershow hosts— device cache
ReferenceWhat it is1 section · depth on demand
What this group covers
DNS header and resource record fields, SOA, the recursive resolution journey, delegation and glue, negative caching, truncation and TCP fallback, EDNS(0) and DNSSEC packet evidence. Start with *DNS Recursive Resolution Journey* when a name does not resolve.
ReferenceImportant terms & boundaries2 sections · depth on demand
Where to look
| Question | Reference |
|---|---|
| Why does the name not resolve? | *DNS Recursive Resolution Journey* |
| Is the delegation broken? | *DNS Delegation & Glue* |
| Why does NXDOMAIN persist? | *DNS Negative Caching* |
| Why does the query switch to TCP? | *DNS Truncation & TCP Fallback* |
| Why does validation fail? | *DNSSEC Packet Evidence* |
| What does this header flag mean? | *DNS Header Field Reference* |
DNS translates names into addresses and is involved in almost every connection users make. A DNS fault therefore often looks like a general network outage. The tools below query specific servers and record types, which separates DNS problems from connectivity problems and shows exactly what each server answers.
DNS quick reference:
dig example.com A +short
dig @10.0.0.53 example.com MX
dig -x 10.0.20.15
nslookup example.com 10.0.0.53
Resolve-DnsName example.com -Server 10.0.0.53
Record types: A, AAAA, CNAME, MX, TXT (SPF/DKIM/verification), NS, SOA, PTR, SRV. DNS uses UDP 53 and TCP 53 (large responses, zone transfers); DoT uses TCP 853, DoH HTTPS 443.
In depth
DNS translates names into IP addresses (and other records) through a hierarchy of servers: clients ask a recursive resolver, which queries root, TLD and authoritative servers and caches the answers for their TTL.
| Record | Maps |
|---|---|
| A / AAAA | Name → IPv4 / IPv6 |
| CNAME | Alias → canonical name |
| PTR | IP → name (reverse) |
| MX | Mail servers |
| NS / SOA | Delegation / zone authority |
| SRV / TXT | Services / text (SPF, verification) |
Many "network is down" reports are DNS failures; test with nslookup or dig against the configured resolver before blaming connectivity.
ReferenceConfiguration & state1 section · depth on demand
Key commands
dig +trace example.com
dig @8.8.8.8 example.com +dnssec
nslookup -type=soa example.com
Resolve-DnsName example.com -Type MX