SecDNS

Glue record

A glue record is an A or AAAA record served in the parent zone for a nameserver whose hostname falls inside the child zone, breaking the otherwise-circular dependency.

Glue record

A glue record is an A or AAAA record published in the parent zone for a nameserver whose name falls inside the child zone, breaking the chicken-and-egg problem of "I need to ask example.com's nameserver to find example.com's nameserver."

In plain English

If you delegate example.com to ns1.example.com, the resolver needs an IP for ns1.example.com to send the very first query. But ns1.example.com is inside the zone we are trying to reach. The parent zone (.com) breaks the loop by serving the IP address directly as a glue record.

How it works

Glue records are described in RFC 1034 §4.2.1. When a parent zone is asked for a child's NS records, if any NS target is in-bailiwick (inside the child zone), the parent must include the matching A and AAAA records in the additional section of the response. These records are not authoritative — the parent is just shipping a hint — and the resolver immediately re-queries the child's own A/AAAA from the now-reachable nameserver. Glue records are configured at the registrar as "host objects" (sometimes called "child host records" or "registered nameservers"). They must be kept in sync if the nameserver IP ever changes, otherwise the entire zone becomes unreachable. Out-of-bailiwick NS records (e.g. pointing at ns1.cloudflare.com for example.com) need no glue because the resolver can find them via ordinary DNS.

SecDNS perspective

Because SecDNS nameservers are on their own out-of-bailiwick hostnames, you do not need glue records at your registrar — you just paste our NS list and the delegation works immediately.

Frequently asked questions

When do I need glue?

Only when an NS record points to a hostname inside the same zone it is delegating — for example ns1.example.com being one of the NS records for example.com.

How do I publish glue?

At your registrar as a "host object" or "registered nameserver" (sometimes called child host record). The registrar pushes the A/AAAA into the parent TLD zone for you.