Black Friday New domains at 5% below our own cost first year · until December 6 · up to 10 domains per account See prices

Child nameservers (glue records) explained, with setup steps

What glue records are, when your nameservers need them (RFC 9471), and how to create child nameservers at GetNameDot, Namecheap, Porkbun, Dynadot and more.

Updated By GetNameDot team 6 min read

On this page
  1. What the standards say
  2. When you need glue records
  3. How to set up child nameservers
  4. At GetNameDot
  5. At other registrars
  6. Good practice for your own nameservers
  7. Check that glue is in place
  8. Common mistakes

A glue record is the IP address of a nameserver, stored at the registry next to the delegation. You need one when a domain's nameserver lives inside that same domain, for example ns1.example.com serving example.com. Without glue, a resolver looking up example.com is told to ask ns1.example.com, but can't find ns1.example.com's address without first resolving example.com. Glue breaks that loop by handing out the address together with the referral.

The host name you register for this, ns1.example.com with its IP address, is called a child nameserver. Registrars also call it a personal, private, vanity or custom nameserver, a registered host, or a hostname. They all mean the same thing.

What the standards say

The idea goes back to the original DNS specification, RFC 1034. RFC 9499, the current DNS terminology document, quotes it: glue records "are only necessary if the name server's name is 'below' the cut" (RFC 9499, checked 29 Oct 2026). RFC 9499 also defines the two cases that matter:

  • In-domain: the nameserver's name is under the domain being delegated, such as ns1.example.com for example.com.
  • Sibling domain: the nameserver is under the same parent zone but in a different domain, such as ns1.another.com serving example.com. Both live under .com.

RFC 9499 calls the older term "in-bailiwick" historic.

RFC 9471, "DNS Glue Requirements in Referral Responses" (September 2023, Standards Track), tightened the rules for registries' and parents' servers (RFC 9471):

  • For in-domain nameservers, servers "MUST include all available glue records" in referrals, or set the truncation flag if they don't fit.
  • For sibling nameservers, servers "SHOULD include all available glue records", but may leave them out when space is short.

For you as a domain owner, the takeaway is simple. If a domain's nameservers are named inside it, register those names with IP addresses at the registrar, or the domain won't resolve.

When you need glue records

Your setupGlue needed?Where
Nameservers from Cloudflare, your host or your registrarNoThe provider handles it
Your own DNS servers named under the same domain (ns1.example.com for example.com)YesAt example.com's registrar
Branded nameservers for clients (ns1.agency.com used by 200 client domains)Yes, onceAt agency.com's registrar only
Client domains pointing at ns1.agency.comNoNothing to do
Moving a domain whose nameservers are inside it to new DNS serversUpdate the glue IPsAt the domain's registrar

The agency case is the one that saves time. Glue belongs to the domain the nameserver names live under, not to each domain that uses them.

How to set up child nameservers

Have the DNS servers running first, each with a static IP address and a zone for your domain that contains matching A (and AAAA) records for ns1 and ns2. Then register the hosts, and only then switch the nameservers.

At GetNameDot

  1. Open the domain in your dashboard (for example, agency.com).
  2. In Child nameservers (glue records), enter the host label, such as ns1, and its IP address, then click Add. Each host is registered with the registry right away and listed with its address.
  3. Repeat for ns2. Use servers on different networks if you can.
  4. Now set the nameservers. On the same domain page, enter ns1.agency.com and ns2.agency.com. For client domains, use the bulk Change nameservers action in My domains, which works on up to 50 domains at once.

Two safety checks are built in. If you set a nameserver inside the domain itself before its child nameserver exists, the change is refused with a message to create the child nameserver first. In a bulk change, such a domain is skipped with the same reason, because glue can only be created on the domain's own page. To remove a host, use remove next to it. If the registry still sees domains using it, the removal fails, so repoint those domains first. See bulk domain management for the rest of the bulk menu.

At other registrars

All paths are from each registrar's own help pages, checked 29 Oct 2026.

RegistrarWhereNotes
NamecheapDomain List > Manage > Advanced DNS > Personal DNS ServerPersonal nameservers for .de domains can't be registered there. Unused ones on .com and .net are purged by the registry after 30 days (Namecheap)
PorkbunDomain Management > Details > Glue Records > ManageAdd at least two (ns1 and ns2). Porkbun's own DNS can't host a domain that uses custom nameservers (Porkbun)
DynadotMy Domains > Name Servers > Register Name ServerOnly for domains registered at Dynadot (Dynadot)
GoDaddyDomain settings > DNS > HostnamesSee GoDaddy's article on adding hostnames
Name.comDomain > Nameserver registrationSee Name.com's article on registering custom nameservers
CloudflareNo self-service optionBusiness and Enterprise customers ask Cloudflare Support to add account custom nameservers as glue (Cloudflare)

Good practice for your own nameservers

  • Run at least two servers on separate networks. The point of two nameservers is that one can fail. Two virtual machines on the same host don't give you that.
  • Add IPv6 as well as IPv4 if your servers have it. A glue record can hold either kind of address, so register both where your registrar allows it.
  • Keep the zone and the glue in step. Your own zone should contain A and AAAA records for ns1 and ns2 that match the glue at the registry.
  • Plan IP changes. Add the new address, update the glue, wait for caches to expire, then retire the old address.
  • Consider DNSSEC separately. Glue records aren't signed. If you sign your zone, publish the DS record at the registrar as a separate step. GetNameDot's dashboard has no form for adding a DS record from your own DNS servers yet, so contact support if you need one.

Check that glue is in place

Ask the parent zone's servers directly, not your own resolver. For a .com domain:

dig NS example.com @a.gtld-servers.net

In the answer, the AUTHORITY section lists your nameservers and the ADDITIONAL section should list their A and AAAA records. If ns1.example.com appears in AUTHORITY but not in ADDITIONAL, the glue is missing. You can also check a domain's delegated nameservers with our WHOIS lookup.

Then query your own servers to confirm they answer for the zone:

dig A ns1.example.com @203.0.113.10

The address in the glue and the A record in your zone should match. If they differ, resolvers may use either one.

Common mistakes

  1. Changing the server IP and forgetting the glue. The registry keeps serving the old address. When you move a DNS server, update its child nameserver at the registrar too.
  2. Deleting a host that is still in use. RFC 5732, the EPP host mapping, says a host "SHOULD NOT be deleted if the host object is associated with any other object" (RFC 5732). Registries usually refuse such a delete. Repoint every domain that uses the host first.
  3. Registering glue for client domains. It isn't needed, and registrars normally let you create a host only under a domain in your own account.
  4. One server, two names. ns1 and ns2 pointing at the same IP gives you no redundancy. If that server goes down, every domain using it goes dark.
  5. Expired parent domain. If agency.com expires, every client domain that uses ns1.agency.com loses DNS too. Keep auto-renew on for any domain that carries nameservers. See what happens when a domain expires.

If you're moving a batch of domains onto new nameservers, follow the pre-flight checklist in changing nameservers for multiple domains.

Frequently asked questions

What is a glue record?

A glue record is the IP address of a nameserver, stored at the registry of the parent zone. It is needed when the nameserver's name is inside the domain it serves, such as ns1.example.com for example.com, because resolvers could not otherwise find that server's address.

Are child nameservers and glue records the same thing?

Practically, yes. A child nameserver (also called a private, personal, vanity or custom nameserver, or a registered host) is a host name like ns1.example.com that you register at the registry with its IP address. The address stored with it is the glue record.

Do I need glue records to use Cloudflare or my host's nameservers?

No. Glue is only needed for nameservers named inside your own domain. When you point a domain at ada.ns.cloudflare.com or your host's nameservers, the glue for those names is the provider's job.

Does every domain that uses my nameservers need glue?

No. Only the domain the nameservers are named under needs them. If ns1.agency.com has glue at the agency.com registrar, client domains can point to ns1.agency.com without any glue of their own.

Why can't I delete a child nameserver?

Registries usually refuse to delete a host that other domains still use as a nameserver. The EPP standard says such a host should not be deleted while it is associated with other objects. Point those domains elsewhere first, then delete the host.