Pcornel
Networking · Network & Protocols › DNS Protocol Reference

DNS Delegation & Glue

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

Back to the Topic

Answer

A delegation hands a domain from the parent zone to the domain's own servers through NS records in the parent. Glue records are the addresses the parent adds when those servers' names lie inside the domain being delegated.

Remember

The NS records exist twice — in the parent, changed at the registrar, and in the zone itself — and should be identical. A server listed but not serving the zone is a lame delegation. The parent's records have long lifetimes, so keep old servers answering for a couple of days after a move.

First checks

  • dig <domain> NS @<parent zone server> +norecurse — the delegation and glue as the parent has them.
  • dig <domain> NS @<own server> +norecurse — the zone's own NS records.
  • dig <name server> A +short — current addresses, to compare with glue.
  • dig <domain> SOA @<each server> +norecurse — each must answer with aa.

Verify in this order

parent zone lists the NS records (and glue where needed) → each listed server reachable → each answers authoritatively for the zone → the zone's own NS set matches the parent's

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=304

Confirmation

Confirm action

Continue?