Glue Records Explained: Solving DNS's Circular Lookup Problem

A small structural quirk in DNS with an outsized impact when it's missing. Here's exactly when glue is needed and how it actually works.

📅 Published August 2026· ⏳ 15 min read· ✍️ ToolsNovaHub Editorial Team

Glue records solve one of the odder little puzzles baked into DNS: what happens when a name server's own address can only be found by asking that same name server? This guide explains exactly when glue is required, how it's stored, and why missing or stale glue is one of the quieter, more confusing causes of "works for some people, not others" DNS failures.

⭐ ToolsNovaHub Pro Tip
If you're setting up in-bailiwick name servers (hostnames inside the very domain they serve), add glue records at the registrar before you finish switching delegation, not after. Doing it in the wrong order creates exactly the circular lookup glue exists to prevent, during the most visible possible moment.
⚠️ Common Beginner Mistake
Assuming glue records live inside your own zone file. They don't — they're stored at the registry, alongside your domain's NS delegation, and are typically managed through your registrar's control panel, not your DNS provider's.

📝 Introduction

Most DNS record types answer a fairly direct question. A glue record exists to answer a much stranger one: how do you find the address of a server, when the only way to ask about that address is to query the very server whose address you're trying to find? It's a small structural wrinkle most people never encounter directly, but it becomes very real, very fast, the moment someone tries to self-host name servers under their own domain and skips this one step.

🔍 What a Glue Record Actually Is

A glue record is simply an A or AAAA record — the IP address of a name server — stored at the parent zone, attached directly to the delegation, rather than inside the child zone's own zone file. It exists purely to short-circuit a lookup that would otherwise be impossible to complete through normal means. Functionally it looks identical to any other A/AAAA record; what makes it "glue" is entirely about where it's stored and why.

🔄 The Circular Lookup Problem, Explained Simply

Picture a domain example.com delegated to a name server called ns1.example.com — notice the name server's hostname is inside the domain it's supposed to serve. To find ns1.example.com's IP address, a resolver would normally query example.com's own name servers. But example.com's own name server is ns1.example.com. That's the loop: you can't find the address of the server you need to ask, because asking requires already knowing its address.

Glue breaks this by short-circuiting the lookup entirely. The parent zone (the TLD registry, in this case) stores ns1.example.com's IP address directly, right alongside the NS record delegating example.com to it. A resolver gets both pieces — the name server's hostname and its address — in the very same referral, with no need to separately resolve the hostname at all.

🏮 Where Glue Records Actually Live

This is the detail that trips up almost everyone the first time: glue records are not part of your domain's own zone file. They live at the registry, attached to your domain's delegation, and are almost always configured through your registrar's control panel under a section usually labeled something like "child name servers," "host records," or "glue records" — a genuinely different place from where you manage your actual A, MX, and TXT records.

Record TypeStored WhereManaged Through
Regular A/AAAA recordYour domain's own zone fileYour DNS provider's dashboard
Glue recordThe parent zone / registryYour registrar's control panel

❓ When Glue Is (and Isn't) Required

Glue is only needed for in-bailiwick name servers — ones whose hostname is inside, or a subdomain of, the zone they serve. A name server called ns1.example.com serving example.com needs glue. A name server called ns1.dnsprovider.net serving example.com does not, because resolving dnsprovider.net's own name servers creates no circular dependency back to example.com at all. The overwhelming majority of domains using a third-party managed DNS provider never touch glue records directly for exactly this reason — the provider's own name servers live outside the domains they serve.

🗺️ Step-by-Step: Setting Up Glue Correctly

1

Confirm You Actually Need Glue

Only relevant if your chosen name server hostnames are inside the domain they'll be serving.

2

Register the Host Records at Your Registrar

Add the name server hostnames and their IP addresses through your registrar's "child name server" or glue-record panel.

3

Point Delegation at Those Name Servers

Only after glue exists should you update the domain's actual NS delegation to use them.

4

Verify From an External Resolver

Confirm the name servers resolve correctly to the intended addresses before relying on the setup in production.

🏢 Enterprise & Hosting Scenarios

Glue records matter most directly to organizations self-hosting their own name servers rather than using a third-party managed provider — internet service providers, larger hosting companies, and enterprises running their own authoritative DNS infrastructure under their own domain name. It's also relevant when a business wants its name servers to appear branded under its own domain (ns1.mycompany.com rather than a generic provider hostname), a common ask from larger customers of white-label hosting platforms — that branding choice directly triggers the in-bailiwick glue requirement even if the underlying infrastructure is actually run by a third party on their behalf.

📈 SEO Relevance

Glue records have no direct SEO impact, but missing or broken glue causes exactly the kind of intermittent, hard-to-diagnose resolution failures that damage crawl consistency over time — a domain that resolves correctly for some resolvers and fails for others due to a glue issue can appear unreliable to search engine crawlers hitting it from different network paths.

🔒 Security Implications

Stale glue is a subtler risk than most DNS misconfigurations: if a name server's IP address changes but the glue record at the registrar isn't updated to match, some fraction of resolvers may continue trying to reach the old address indefinitely, based on cached or directly-configured glue. If that old IP address is later reassigned to someone else's infrastructure by the hosting provider, an unlucky combination of circumstances could route legitimate DNS queries toward infrastructure the domain owner no longer controls. Keeping glue records synchronized with actual name server IPs, especially after any hosting change, is a small but genuinely important operational habit.

🔧 Troubleshooting Glue Issues

⚠️ In-bailiwick name server won't resolve for anyone
Missing glue record at the registrar is the most likely cause — check your registrar's child name server panel directly.
⚠️ Domain resolves inconsistently across different networks
Often stale glue pointing at an outdated IP address that some resolvers are still using from cache or direct configuration.
⚠️ Registrar won't let you add a name server under your own domain
You likely need to register it as a "child name server" or "host record" first, before it can be used in delegation at all.

🎓 Expert Tips

🔄
Update Glue the Moment an IP Changes
Treat glue-record updates as part of any name server IP migration checklist — not an optional follow-up step.
🔍
Audit In-Bailiwick Setups Periodically
If you're self-hosting under your own domain, periodically confirm glue still matches the real, current infrastructure addresses.
🏭
Prefer Out-of-Bailiwick Name Servers When Possible
Using a third-party provider's own hostnames sidesteps the entire glue requirement — simpler operationally for most organizations.

📊 Comparison Tables

In-Bailiwick vs. Out-of-Bailiwick Name Servers

FactorIn-BailiwickOut-of-Bailiwick
Examplens1.example.com serving example.comns1.dnsprovider.net serving example.com
Glue required?YesNo
Typical useSelf-hosted or branded name serversThird-party managed DNS providers

✅ Best-Practice Checklist

  • Confirm whether your name servers are in-bailiwick before assuming glue is unnecessary
  • Register glue at the registrar before switching delegation to those name servers
  • Update glue immediately whenever a name server's IP address changes
  • Verify resolution externally after any glue-record change
  • Prefer out-of-bailiwick name servers when branding isn't a hard requirement

❌ Common Mistakes

⚠️ Trying to add glue inside the DNS provider's zone editor
Glue lives at the registrar, not in your zone file — the two are managed in completely different places.
⚠️ Switching delegation before glue exists
Creates exactly the circular lookup glue is meant to prevent, right during the most visible cutover moment.
⚠️ Forgetting to update glue after an IP migration
Leaves some resolvers stuck trying to reach an outdated address indefinitely.

💼 Daily Practical Use Cases

ISPs and hosting companies running their own branded name servers rely on correctly configured glue as core infrastructure. IT teams setting up a company's first self-hosted DNS environment hit the glue requirement immediately if they want branded, in-bailiwick name server hostnames. Domain security auditors check glue consistency as part of verifying a domain's overall delegation integrity.

🔬 Advanced Insights

Glue records are one of the few places in DNS where the parent zone is allowed to serve data about the child zone's own infrastructure directly, rather than purely referring elsewhere — a deliberate, narrow exception to the usual strict separation of authority between zones. Some registries also perform "glue sanity checking," verifying the provided IP addresses are at least topologically plausible before accepting them, though this varies significantly by registry and isn't a universal safeguard against stale or incorrect entries.

Reviewed by: ToolsNovaHub Editorial Team📅 Last updated: August 2026📜 Sourced from: RFC 1034/1035 and standard DNS delegation behavior

ToolsNovaHub tools are built and independently maintained with a focus on accurate, no-signup network and security utilities. Spotted an error? Let us know.

📋 Related Tools & Guides Comparison

ResourceTypeLink
NS LookupToolOpen Tool →
DNS LookupToolOpen Tool →
Name Servers ExplainedGuideRead Guide →
Delegation ExplainedGuideRead Guide →
Child Name ServersGuideRead Guide →
Try it yourself — 100% free
🚀 Open NS Lookup

🔗 More Guides