A glue record is an A or AAAA record for a name server that the parent zone publishes alongside an NS delegation, so that resolvers can reach a name server whose hostname lies inside the zone it serves. Among DNS records, glue is unusual because it is not authoritative data: the parent holds a copy of an address that formally belongs to the child zone, purely to break a circular dependency in name resolution on the Internet.
Without glue, a resolver asked to find shop.example.com would learn that example.com is served by ns1.example.com, yet it could only find the address of ns1.example.com by asking that same server. Glue records supply the missing address in the additional section of the referral, which lets the lookup continue.
How glue records break the delegation loop
Glue records work by attaching name server addresses to a referral sent from the parent zone to a resolver. When a top-level domain server answers a query for a name under example.com, it returns the NS records in the authority section and, where needed, the matching A and AAAA records in the additional section.
The resolver then contacts the listed address directly. The child zone must also publish the same NS and address records, because the copy in the child is the authoritative version; the parent copy is only a delegation hint. Modern resolvers treat glue as low-trust data and, after reaching the child, prefer the child’s own records for caching.
The following table traces a typical resolution path for a domain whose name servers sit inside the domain itself.
| Step | Server queried | What it returns |
|---|---|---|
| 1. Root referral | Root server | NS records for the com zone plus glue for its servers |
| 2. TLD referral | com server | NS ns1.example.com with glue A and AAAA records |
| 3. Final answer | ns1.example.com at the glue address | Authoritative A record for shop.example.com |
| 4. Revalidation | ns1.example.com | Authoritative NS and address records for the zone |
When a glue record is required
A glue record is strictly required only for in-bailiwick name servers, meaning servers whose hostnames fall within the delegated zone itself. If the name server lives in an unrelated domain, the resolver can look up its address through a separate, independent chain of referrals, so glue is unnecessary and usually ignored.
The terms in the table below follow the vocabulary used in the DNS terminology specification, RFC 8499, and the 2024 glue requirements in RFC 9471.
| Name server type | Example for example.com | Glue status |
|---|---|---|
| In-domain | ns1.example.com | Mandatory, otherwise resolution fails |
| Sibling domain | ns1.example.net served by the same registry | Optional, accepted by some registries |
| Out-of-bailiwick | ns1.dns-provider.org | Not needed and not stored |
| Sub-delegated child | ns.sub.example.com for sub.example.com | Mandatory in the example.com zone |
RFC 9471 clarifies that authoritative servers must include all available in-domain glue in referrals and must set the TC (truncation) bit if that glue does not fit in the response. Sibling glue may be included when space allows, but resolvers should not depend on it.
How glue records are created at a registry
For a domain directly under a top-level domain, glue is created by registering host objects with the registry through the registrar, not by editing a zone file. Registrars often label this feature child name servers, private name servers or host records in their control panels.
In the Extensible Provisioning Protocol (EPP), the registrar first creates a host object such as ns1.example.com with one or more IP addresses, then assigns that host to the domain as a name server. The registry publishes the resulting NS and glue records in the TLD zone, typically within minutes to an hour depending on its zone generation cycle.
- Register each host with every IPv4 and IPv6 address it answers on.
- Assign the hosts to the domain as its name servers.
- Mirror the records in the child zone with identical names and addresses.
- Verify the delegation by querying the TLD servers directly with dig or a similar tool.
For delegations deeper in the tree, such as sub.example.com, the operator of example.com adds the glue manually as ordinary A and AAAA records below the zone cut in its own zone file.
Glue records compared with related DNS records
A glue record is technically an ordinary A or AAAA record; what makes it glue is its location below a zone cut in the parent zone. The comparison below separates it from neighboring record types that also appear at delegation points.
| Record | Zone that holds it | Purpose | Authoritative in parent |
|---|---|---|---|
| NS record | Parent and child | Names the servers for the child zone | No, child copy is authoritative |
| Glue A or AAAA | Parent, copied from child | Supplies server addresses for the referral | No |
| DS record | Parent only | Links the DNSSEC chain of trust to the child | Yes |
| SOA record | Child only | Marks the start of authority for the zone | Not present in parent |
An important consequence follows for DNSSEC: because glue is not signed by the parent, it carries no RRSIG record. A validating resolver confirms the child’s records only after reaching the child and following the DS and DNSKEY chain.
Common glue record problems and their fixes
Most glue failures come from mismatches between the parent and child copies. Because the parent and child are often managed by different people through different interfaces, an address change in one place is easily forgotten in the other.
| Symptom | Likely cause | Fix |
|---|---|---|
| Domain fails to resolve | Missing glue for in-domain servers | Register host objects at the registrar |
| Intermittent timeouts | Stale glue after a server IP change | Update the host object addresses |
| IPv6-only resolvers fail | No AAAA glue registered | Add AAAA addresses to each host |
| Lame delegation warnings | Glue points to a server not serving the zone | Correct the address or reconfigure the server |
| Truncated referrals | Too many servers or addresses | Reduce name server count or rely on TCP fallback |
A frequent misconception is that changing a server address in the child zone updates the glue automatically. It does not: glue changes only at the parent, and resolvers may keep the old address until the parent’s NS and glue TTL, often 48 hours at large TLDs, expires.
In simple terms
Imagine a building directory that says the information desk for an office is located inside that same office. You cannot get in without first knowing where the desk is. A glue record solves this by having the main lobby directory also print the exact room number of that desk.
In the same way, the parent zone gives out the address of the name server directly, so a computer looking up a website does not get stuck in a loop. The key point is simple: glue is needed only when the server’s name sits inside the domain it serves.
A practical example
A regional hosting company runs its own name servers, ns1.hostco.com at 203.0.113.10 and ns2.hostco.com at 198.51.100.20, and uses them for hostco.com itself. At its registrar, the technical team creates both host objects with IPv4 and IPv6 addresses and assigns them as name servers. Queries to the com servers now return NS records with glue, and the domain resolves.
Two years later, the company moves ns2 to a new data center and changes its address in the zone file, but forgets the registrar. For about two days, roughly half of all lookups that pick ns2 time out. Once an engineer updates the host object at the registrar and checks the TLD response with dig, the stale glue disappears and resolution becomes reliable again.