A new cPanel host comes online with ns1.example.com and ns2.example.com as its nameservers, both under the domain example.com. The registrar accepts them as the authoritative nameservers but the domain immediately stops resolving. The team adds A records for ns1 and ns2 in the cPanel zone, but nothing changes. This is the glue record problem — without glue at the registrar, the resolution loop has no entry point.
What’s happening
When a resolver wants to find example.com, it asks the TLD: “who’s authoritative for example.com?” The TLD answers “ns1.example.com and ns2.example.com.” The resolver then needs to find the IP of ns1.example.com — but ns1.example.com is itself under example.com, and the only way to find it is by asking the nameservers for example.com, which are ns1.example.com and ns2.example.com. Infinite loop.
Glue records break the loop. They are A (or AAAA) records published in the TLD’s zone alongside the NS records, giving the IP of the nameserver directly. When the TLD answers “ns1.example.com and ns2.example.com,” it includes “and ns1.example.com is at 192.0.2.10.” The resolver now has enough to query the nameserver without recursion.
Glue is only required when the nameserver name is under the domain being delegated. If example.com uses ns1.host.com and ns2.host.com, no glue is needed because those names resolve through .com’s own delegation of host.com. If example.com uses ns1.example.com, glue is mandatory.
How to verify
Check the TLD directly for both the NS and the glue A:
dig +noall +answer +additional NS example.com @a.gtld-servers.net
The +additional flag shows the glue if it’s published. If you see only NS lines and no A lines in the additional section, glue is missing. Compare against the same query with +norecurse:
dig +norecurse NS example.com @a.gtld-servers.net
For the registrar-side view:
whois example.com | grep -iE 'name server|nserver'
Most registrar control panels have a “register/manage host records” interface separately from the NS field. That’s where glue lives.
What to do
- At the registrar, register the nameserver hostnames as “host records” or “glue records”. Each registrar names this differently — GoDaddy calls it “host names”, Namecheap “personal DNS server”, OVH “DNS server glue records”. The interface usually asks for the hostname and the IP.
- Publish the same A records in the cPanel zone itself. The glue at the registrar covers external resolvers; the zone’s own A records cover queries that arrive at the nameserver. Both should match.
- Verify the glue from the TLD with
dig +additional. If it’s not there, the registrar interface succeeded silently — common in some control panels. Open a ticket if the change doesn’t reflect. - For an IPv4 + IPv6 nameserver, register both glue A and AAAA at the registrar. Many registrars expose AAAA glue as a separate field that’s easy to miss.
- When changing the IP of a nameserver, update the glue at the registrar first, wait the TLD’s glue TTL (usually 86400), then update the A record in the zone. Doing it the other way leaves the registrar pointing at an unreachable IP for a day.
If you’re running cPanel-bundled nameservers and the customer’s domain uses them, the customer’s registrar needs the glue for your IPs. This is sometimes the missing step when a customer migrates a domain to your hosting — they update NS but their registrar’s UI hid the host-records section.
Stack Harbor coordinates glue setup during host commissioning and onboarding as part of managed cPanel operations.