Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

DNS Delegation & Glue

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

When to use this

Use it when changing name servers or DNS provider, and when lookups fail intermittently because one listed server does not answer.

First 30 seconds

1. List the NS records at the parent and in the zone — the same servers?

2. Ask each listed server for the SOA: answers, with the aa flag, same serial?

3. One does not → lame delegation; fix or remove it.

4. Glue addresses equal the servers' real addresses?

5. After a provider move: was the registrar's delegation updated?

Operational verification

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

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
Key commanddig example.com NS +short
Scope / prerequisiteUse it when changing name servers or DNS provider, and when lookups fail intermittently because one listed server does …
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.

2 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 Operational verification Verify boundary
dig example.com NS +short
dig example.com NS @a.gtld-servers.net +norecurse
dig example.com NS @ns1.example.com +norecurse
dig ns1.example.com A +short
dig example.com SOA @ns1.example.com +norecurse
dig example.com +trace

The second command asks a server of the parent zone and shows the delegation as the parent has it: NS records in the authority section and glue in the additional section. The third asks the domain's own server for its NS records. Compare the two lists, and the glue addresses with the servers' current address records. Then ask every listed server for the SOA: each must answer, with the aa flag and the same serial.

Known-good: the parent and the zone list the same servers, glue matches the servers' real addresses, and every listed server answers authoritatively.

Step 2 Failure isolation workflow Narrow the fault
  • Lookups fail intermittently or are slow. One of the servers in the delegation does not answer or does not host the zone.
  • The domain stopped resolving after moving DNS provider. The delegation at the registrar still names the old servers, or was changed before the new servers had the zone.
  • A server answers without the aa flag, or with REFUSED. It is listed but not configured for the zone — a lame delegation.
  • The parent lists different servers from the zone itself. One of the two was updated and the other forgotten.
  • Glue shows an old address. The name server was renumbered and the registrar's host record was not updated.
  • A change at the registrar is not visible everywhere. The parent's records have long TTLs; resolvers keep the old delegation until they expire.
  • A subdomain delegated internally does not resolve. The parent zone lacks NS records for it, or lacks glue where the servers lie inside the subdomain.
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

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.

Key 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.
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

A delegation is how responsibility for a domain is handed from the parent zone to the domain's own servers. The parent — for example the .com zone — holds NS records naming those servers. Glue records are address records the parent adds when those servers' names lie inside the domain being delegated.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

The NS records exist in two places: in the parent zone and in the domain's own zone. The parent's copy is what resolvers follow to find the domain at all, and it is changed at the registrar, not on the DNS servers. When the two copies disagree, or the glue is out of date, part of the world is sent to servers that no longer answer — a fault that comes and goes depending on which server a resolver happens to try.

ReferenceHow it works1 section · depth on demand

How it works

In the parent zone (.com), for example.com:

example.com.      172800 IN NS ns1.example.com.
example.com.      172800 IN NS ns2.example.com.
ns1.example.com.  172800 IN A  192.0.2.53      ; glue
ns2.example.com.  172800 IN A  198.51.100.53   ; glue

In the domain's own zone:

example.com.      86400 IN NS ns1.example.com.
example.com.      86400 IN NS ns2.example.com.
ns1.example.com.  86400 IN A  192.0.2.53
ns2.example.com.  86400 IN A  198.51.100.53

Why glue is needed. To reach example.com, a resolver must contact ns1.example.com. To find the address of ns1.example.com, it would have to ask the servers of example.com — which is what it is trying to reach. The parent breaks the circle by supplying the addresses along with the referral. If the name servers have names in another domain (ns1.dnsprovider.net), no glue is needed; the resolver looks those names up separately.

Two copies, two owners.

  • The parent's NS and glue records are maintained through the registrar. They are returned as a referral — not marked authoritative — and are what a resolver with an empty cache follows.
  • The domain's own NS records are authoritative, and resolvers generally prefer them once they have reached the zone.

The two sets should be identical. When they are not:

  • A server listed at the parent that no longer hosts the zone gives a lame delegation: resolvers that try it get no useful answer and must retry elsewhere, which shows as slow or intermittent lookups.
  • Glue that still points to an old address sends resolvers to a host that may not answer at all.

Changing name servers therefore has an order: bring up the new servers with the zone, update NS records in the zone, change the delegation at the registrar, and keep the old servers answering until the parent's long TTL — often two days — has run out.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Delegation and glue

A delegation is how a parent zone hands responsibility for a subdomain to other servers. RFC 1034 places NS records for the child at the zone cut in the parent zone. When the child's name servers are named inside the child zone itself, the parent must also provide their addresses as glue records. Otherwise nobody could find them. Data at the cut in the parent isn't authoritative. The child's own NS records, served by the child's servers, are the authoritative version.

What the parent and the child hold

RecordParent (net)Child (example.net)
NS for example.netYes (delegation, not authoritative)Yes (authoritative)
A/AAAA for ns1.example.netYes, as glue (needed: the name is inside the child)Yes (authoritative)
SOA for example.netNoYes
DS for example.net (DNSSEC)Yes (authoritative in the parent)No

When glue is needed

Name server nameGlue needed?
ns1.example.net for example.netYes: in-bailiwick
ns1.provider.com for example.netNo: resolvable independently
ns1.example.org for example.net, where example.org's servers are in example.netAvoid: circular dependency

Common delegation errors

ErrorSymptom
Parent and child NS sets differ (lame delegation)Intermittent failures, depending on which server is chosen
A server listed in NS isn't authoritative for the zoneREFUSED or non-authoritative answers
Missing or outdated glueSERVFAIL, or failures after a renumbering
Only one name server, or two in the same networkNo redundancy
host$ dig @a.gtld-servers.net example.net NS +norecurse
;; AUTHORITY SECTION:
example.net.   172800 IN NS ns1.example.net.
example.net.   172800 IN NS ns2.example.net.
;; ADDITIONAL SECTION:
ns1.example.net. 172800 IN A 192.0.2.53
host$ dig @ns1.example.net example.net NS +norecurse +noall +answer +comments | grep -E "flags|NS"
host$ dig @ns2.example.net example.net SOA +norecurse +short

The first answer is a referral. The NS records are in the authority section, not the answer section, and the AA flag isn't set. The second query checks that the child's own NS set matches what the parent delegates.

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 Network & Protocols → DNS Delegation & Glue. Documentation verification only; this is not observed lab or production Evidence.

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

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
dns gluedns delegationlame delegation
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

DNS Delegation & Glue

Parent and child authority comparison.

1. Query parent NS referral.

2. Inspect glue where required.

3. Reach each delegated server.

4. Compare child apex NS.

5. Compare direct authoritative answers.

Confirmation

Confirm action

Continue?