What are glue records?
When setting up nameservers at your domain registrar, it is necessary to provide an IP address of the authoritative nameserver. This IP address is called the glue record.
For example, if you have two nameservers that you own and are trying to make authoritative, you would give your domain registrar both the names and IP addresses:
To view your glue records, use the dig command:
- Log in to your server via SSH or via the WHM Terminal feature.
- Run the following command against one of the root nameservers to see the glue IP address:
dig @a.gtld-servers.net domain.tld NS
- Observe in the output the "Additional Section", which contains the glue IP records:
;; QUESTION SECTION:
;domain.tld. IN NS
;; AUTHORITY SECTION:
domain.tld. 172800 IN NS ns1.domain.tld.
domain.tld. 172800 IN NS ns2.domain.tld.
;; ADDITIONAL SECTION:
ns1.domain.tld. 172800 IN A 184.108.40.206
ns2.domain.tld. 172800 IN A 220.127.116.11
- If these IP addresses in the "Additional Section" are not the IP addresses for your nameservers, you need to change them at your domain registrar.
To find a list of popular domain registrars, review this article: