Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Authoritative server

Direct 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.

When to use this

Use it when a DNS answer is wrong or missing, to check the source of truth for the zone.

First 30 seconds

1. Authoritative servers hold the zone and answer with the aa flag.

2. NS records delegate.

3. SOA serial must increase on change.

4. Secondaries transfer zones.

5. Check all NS return the same data.

Operational verification

parent delegation (NS) → authoritative server → aa answer

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Key commanddig NS example.com +short
Scope / prerequisiteUse it when a DNS answer is wrong or missing, to check the source of truth for the zone.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Commands Verify boundary
dig NS example.com +short
dig @ns1.example.com www.example.com +norec     # flags should include aa
dig SOA example.com +short                      # serial number
Step 2 Verification & troubleshooting Narrow the fault

1. Record queried name/type and resolver.

2. Test reachability and UDP/TCP 53.

3. Query the recursive resolver.

4. Trace delegation/authority when needed.

Step 3 Common authoritative problems Narrow the fault
  • Lame delegation: parent NS records point to servers that do not serve the zone.
  • Secondaries not updating (serial not incremented, NOTIFY/zone transfer blocked).
  • Glue records missing or wrong for in-zone name servers.
  • Expired DNSSEC signatures.

Check with dig +trace, dig @each-ns example.com SOA.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • dig @<auth-server> <name> +norecurse — authoritative answer (aa flag)
  • dig <zone> NS — authoritative servers
  • dig <zone> SOA — serial
ReferenceWhat it is1 section · depth on demand

Characteristics

  • Answers have the AA (authoritative answer) flag set.
  • Holds the zone's SOA and NS records; secondaries copy the zone with AXFR/IXFR.
  • Should not offer recursion to the internet (open resolvers are abused for amplification).

Check with dig @ns1.example.com example.com SOA and compare serial numbers between primary and secondaries.

ReferenceWhy it matters1 section · depth on demand

How it works

An authoritative server holds the zone data and answers with the AA (authoritative answer) flag. The parent zone delegates to it with NS records (plus glue A/AAAA records when the server is inside the zone). Each zone should have at least two authoritative servers on different networks; secondaries copy the zone from the primary by zone transfer (AXFR/IXFR) when the SOA serial increases.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Check a delegation from the parent down

$ dig @a.gtld-servers.net example.com NS +norec
;; AUTHORITY SECTION:
example.com.  172800  IN NS ns1.example.com.
example.com.  172800  IN NS ns2.example.net.
;; ADDITIONAL SECTION:
ns1.example.com. 172800 IN A 192.0.2.53        ; glue, because ns1 is inside the zone
$ dig @ns1.example.com example.com NS +norec    ; flags: qr aa — authoritative
$ dig @ns2.example.net example.com SOA +norec
ResultMeaning
Parent NS set ≠ child NS setInconsistent delegation; fix the registrar or zone
Server answers without aa or refusesLame delegation — listed but not serving the zone
Missing glue for in-zone name serversResolvers cannot reach them

SOA fields that control secondaries and caching

example.com. 3600 IN SOA ns1.example.com. hostmaster.example.com. (
        2026112701 ; serial — must increase on every change
        3600       ; refresh — secondaries check this often
        900        ; retry
        1209600    ; expire — secondaries stop answering after this without contact
        300 )      ; minimum — used for negative caching TTL

Compare serials across all authoritative servers: dig @ns1 example.com SOA +short and dig @ns2 .... Different serials for longer than the refresh interval mean zone transfers fail (NOTIFY, AXFR/IXFR on TCP 53 blocked, or ACLs on the primary).

Design rules

  • At least two authoritative servers in different networks (RFC 1034 expects redundancy).
  • Authoritative servers should not offer recursion; resolvers and authoritatives are separate roles.
  • A hidden primary that only feeds public secondaries limits exposure of the server where the zone is edited.

Change planning with TTLs

Lower the record TTL at least one old-TTL period before a migration, change the record, verify on each authoritative server, then raise the TTL again. Resolvers that cached the old value keep it until its TTL expires — no command on the authoritative side can clear those caches.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 1034

Authoritative/upstream documentation reviewed for bounded claims in IP Services → DNS → Authoritative server. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc1034.html · confidence 94%
Confirmation

Confirm action

Continue?