Skip to content
AdminKit

Glue record

What is Glue record?

A glue record is an A or AAAA record a parent zone publishes alongside an NS delegation, giving a nameserver's IP address directly and avoiding the circular lookup an in-domain nameserver would otherwise need. RFC 7719 formally defines the term. AdminKit's DNS lookup tool helps spot a missing or mismatched glue record at the registrar.

By AdminKit team, Netbase JSC · Updated

A glue record is an A or AAAA record a parent zone publishes alongside an NS delegation, giving the IP address of a nameserver directly instead of making a resolver look it up separately — RFC 7719 (document record at the IETF Datatracker) formally defines the term, and the original DNS specification, RFC 1035, is where the requirement to publish it originates. The address itself is an ordinary A record, or an AAAA record for an IPv6-only nameserver. It’s needed specifically when a domain’s nameserver is itself a subdomain of the domain it serves (for example, ns1.example.com acting as a nameserver for example.com), since otherwise resolving that nameserver’s address would require already knowing it — a circular dependency. Resolvers treat glue with some caution: Unbound’s harden-glue option, on by default, trusts glue only if it is within the server’s authority. Servers also decide how glue is presented: BIND 9’s preferred-glue option controls whether A or AAAA glue is emitted first in the additional section of a response. Without the correct glue record at the registrar, a domain using in-domain nameservers can become unresolvable even though its own DNS zone is configured correctly, because resolvers never get far enough to ask it anything. Glue records live at the registrar/parent-zone level, not inside the domain’s own zone file, which is why confirming them means checking what the registrar actually publishes, not just the domain’s own DNS records — for a top-level domain’s own nameservers, that delegation and glue data is published in IANA’s Root Zone Database. The same requirement applies one level down when a subdomain is delegated to its own in-bailiwick nameservers — see interpreting a subdomain delegation NS/glue mismatch for where that glue record actually has to live.

AdminKit groups glue record under its DNS cluster — browse the AdminKit glossary index for other related terms.

Frequently asked questions

When is a glue record actually needed?

Specifically when a domain's nameserver is itself a subdomain of the domain it serves, since otherwise resolving that nameserver's address would require already knowing it -- a circular dependency glue breaks.

Where do glue records live?

At the registrar or parent-zone level, not inside the domain's own zone file, so confirming them means checking what the registrar actually publishes.

What happens if the glue record at the registrar is missing or wrong?

The domain can become unresolvable even though its own DNS zone is configured correctly, because resolvers never get far enough to ask it anything.