Managing Nameserver Glue Records

What is a Glue Record (or Additional record / Additional section)?

A glue record (or additional record/ additional section) is a type of DNS record that associates a domain name, or more specifically a subdomain, with an IP address (also known as A Record), allowing the delegation of this domain to a name server (NS) which belongs to a subdomain. Setting up "glue records" is the act of showing the IP address of authoritative DNS servers on a domain name at the registry level in addition to the host names.

The A records for the subdomain are only required as Glue Records for nameservers (NS) that are located in the subdomain of the current zone that is being delegated.

More on Glue Records, how it works, explained in a comic! ⇢ https://howdns.works/ep7/

 

Why are Glue Records Important?

When configuring a domain’s DNS settings, it's common to assign nameservers that are subdomains of the domain itself. For example, for the domain mydomain.com, the nameservers might be ns1.mydomain.com and ns2.mydomain.com. In such cases, a query for the domain name might result in a circular reference, where to know the IP address of ns1.mydomain.com, one needs to know the IP address of mydomain.com first, creating a loop.

Glue records break this loop by providing the IP address of the nameservers directly, allowing for the correct resolution of the domain name and its associated subdomains. They ensure the stability and reliability of the domain’s DNS configuration, preventing potential accessibility issues.


When do you need a glue record?

Glue records are particularly important when the nameservers (eg. ns1, ns2) for a domain name (eg. domain.com) are the subdomains of the domain name itself.

Example

  • Domain name: mydomain.com
    Nameservers: alfred.cloudflare.net, jessie.cloudflare.net
    No Glue Record required

 

  • Domain name: mydomain.com
    Nameservers: ns1.mydomain.com, ns2.mydomain.com
    Glue Records required for ns1.mydomain.com and ns2.mydomain.com, as follows:

    ns1.mydomain.com. IN A XXX.XX.XXX.XXX
    ns2.mydomain.com. IN A XXX.XX.XXX.XXX

 

 

How to manage Glue Records?

Navigating to the section where you can modify or establish Nameserver Glue records is straightforward Domain Tools > Nameserver Glue Records. See the steps below.

Note: the Glue Records modifications are not always realtime. Glue records are published directly in the TLD zone (for example .com). Depending on the registry, it can take a few minutes (.COM or .FR for instance) or a few hours, or even longer for non-automated TLDs.
For certain automated TLDs / registries, it can take up to several hours until they update their TLD zone. For example .NO updates every two hours.

After submission, the Glue Records modifications will take effect almost immediately for .COM domains.

Nevertheless, we recommend creating your Glue Records at least one day before you intend to use them and update your domain's NS records.


Important: In order to manage Glue Records, the parent domain must be registered with BrandShelter.

You will have to update manually and accordingly the parent domain zone file to apply the change on the hostname.

 

Updating Existing Glue Records

  1. Hover over the "Domain Tools" section with a wrench icon.
  2. Select "NameServer Glue Records".
  3. Search for the Nameserver Glue Record you want to edit.
  4. Click on the burger menu (3 horizontal bars) corresponding to the Nameserver − or right-click on it  − and click on "Edit".
  5. Update the IP Address as required.
  6. Finally, click on "Update Nameserver" to save your changes.

If existing and registered Nameservers / Glue Records are updated in BrandShelter, they are updated at the registry in a few minutes (for .COM or .FR extensions, for example), or in a few hours depending on the registry / TLD — or even longer in the case of extensions (TLDs) for which management is not automated.

 

 

Setting Up New Glue Records

  1. Navigate to the "Domain Tools" section with a wrench icon.
  2. Choose "NameServer Glue Records".
  3. Select "Register New Nameserver".
  4. Enter the Nameserver details: hostname and IP address.
  5. Click on "Register Nameserver" to finalize and add your new Glue Record.

Important: You will have to add manually and accordingly the new hostnames in the parent domain zone file (Edit Domains DNS settings).

When you register a new Nameserver / Glue Record through the BrandShelter interface, that will register the nameserver at the registry in a few minutes (for .COM or .FR extensions, for example), or in a few hours depending on the registry / TLD — or even longer in the case of extensions (TLDs) for which management is not automated.

 

 

How to check if an update took place

Ask a TLD registry server directly. Use +norec so the answer comes from the registry and not from a cache or the domain's own servers.

  1. First get a root namesever, e.g.

    dig com NS +short

  2. Then query one of these. The Glue Record appears in the ADDITIONAL section:

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


Look up the nameservers in the registry's WHOIS. This shows the NS and their respective stored IPs, as well as which registrar sponsors them (depending on the TLD/registry, some whois may not show all TLD information and NS won't be shown):

whois -h whois.verisign-grs.com "nameserver ns1.example.com" whois -h whois.verisign-grs.com "nameserver ns2.example.com"