Setting Up Glue Records (Host Objects)
Create glue records for in-zone nameservers such as ns1.example.com
What are glue records (host objects)?
A glue record stores the IP address of a nameserver at the registry. You need glue records when the nameservers of a domain lie inside that same domain, for example ns1.example.com and ns2.example.com for example.com. Such nameservers are also called child nameservers or private nameservers.
Why they are needed
To find the IP address of ns1.example.com, a resolver would have to ask the nameserver of example.com, which is ns1.example.com itself. Without help, this is a loop. The glue record breaks it: the registry (the parent zone, for example .com) hands out the IP address of the nameserver together with the delegation, so resolvers can reach it directly.
Example
example.com uses ns1.example.com as nameserver. The glue record maps ns1.example.com to 192.0.2.1 and 2001:db8::1.
Add a glue record
Go to Domains > All Domains, open the domain under which the nameserver hostnames live and choose Nameservers > Hosts. The page Host Objects lists your hosts with Hostname, IP Addresses, Created and Updated. As long as you have not added a host, the list is empty.

- Click Add Host.
- Under Hostname, enter only the first part, for example
ns1. The domain is added automatically. - Under IP Addresses, enter the IPv4 or IPv6 address of the nameserver. Click Add IP Address to add more.
- Click Create.
- Repeat for the second nameserver, for example
ns2. Use separate IP addresses for redundancy.

Then set these hostnames as custom nameservers of the domains that should use them, see Configuring Nameservers for Your Domain.
Edit or delete a host
- Edit: use the edit action in the row of the host. In the dialog Edit Host you can change the IP addresses.
- Delete: use the delete action in the row of the host and confirm the dialog, for example Delete ns1.example.com. This cannot be undone.
TLDs without host objects
For some TLDs the registry does not use host objects. The Hosts page then shows "Host objects are not supported for this TLD. IP addresses for glue records are passed as nameserver attributes." In this case, choose Custom nameservers under Nameservers > Nameservers and enter the IP addresses in the field IP Addresses (optional) of each nameserver.
Glue records and vanity nameservers
Glue records and vanity nameservers are often confused. Glue records are a technical requirement so that nameservers inside a domain can be found. Vanity nameservers are a branding feature: your zones are served by OpusDNS under nameserver names of your own domain, set up under DNS Zones > Vanity Nameservers.
Because the vanity nameserver names lie inside your own domain, glue records are recommended for them too. The Diagnostics of a vanity nameserver set check this with "Glue registered at registry" and "Glue visible in parent zone". For step-by-step instructions, see Setting Up Vanity Nameservers.
