Pcornel
Networking · IP Services › DNS

Authoritative server

Cheat sheet · https://pcornel.dk/topic.php?topic=1201

Back to the Topic

Answer

An authoritative DNS server holds the zone data for a domain and gives the final answer for names in it, with the AA flag set, instead of asking other servers.

Remember

  • A/AAAA map names to IPv4/IPv6; CNAME aliases one name; PTR is reverse lookup
  • Recursive and authoritative roles answer different questions
  • UDP 53 is common, while TCP 53 is required for some large replies and zone operations
  • NXDOMAIN, NODATA, SERVFAIL and timeout indicate different boundaries; TTL controls cache lifetime.

First checks

  • dig @<auth-server> <name> +norecurse — authoritative answer (aa flag)
  • dig <zone> NS — authoritative servers
  • dig <zone> SOA — serial

Commands

dig @ns1.example.com example.com SOA
dig @ns1 example.com SOA +short
dig @ns2 ...
dig +trace
dig @each-ns example.com SOA

Verify in this order

parent delegation (NS) → authoritative server → aa answer

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1201

Confirmation

Confirm action

Continue?