Setting Up Nameserver Glue Records

Glue Records?

Sometimes you need to setup 'glue' records in order to ensure the IP address of a host can be resolved directly from your domain registrar.
This is often the case when you are hosting a domain on your Farbyte VPS and hosts within that domain are also being used as the nameservers for the domain.
Without glue records, the nameserver IP addresses can not be resolved.

For example, you are hosting mydomain.com on the VPS and would like to use the nameservers of ns1.mydomain.com and ns2.mydomain.com for the domain.
If you simply go to your domain registrar and enter ns1.mydomain.com and ns2.mydomain.com for the nameserver setting on the domain, there is currently no way to find the IP address for ns1.mydomain.com and ns2.mydomain.com.

In the above situation, a client computer would ask the domain registrar DNS for the DNS nameserver/s for www.mydomain.com (or any other host within the domain). The registrar DNS system would respond saying that ns1.mydomain.com and ns2.mydomain.com are the nameservers for mydomain.com, so the client would need to find the IP addresses for ns1.mydomain.com and ns2.mydomain.com. So it would then ask for the IP of ns1.mydomain.com which the registrar's DNS would respond with the equivalent of 'ask ns1.mydomain.com'.
Thus we have a never ending loop trying to resolve ns1.mydomain.com and/or ns2.mydomain.com.

Glue records prevent this from happening.

Setup GoDaddy Glue Records

  1. Login to your GoDaddy account.
  2. Select the option to Manage the domain which you would like to setup 'glue' records for.
  3. Go to the Host Summary section and click add
  4. In the dialogue box that appears enter the hostname (e.g. ns1) and the corresponding IP for that hostname
  5. Click OK
  6. Repeat this for each nameserver you wish to add

After this has been done, you are now able to use the nameservers created for the nameserver settings of that domain.

  • 84 Users Found This Useful
Was this answer helpful?

Related Articles

How To Change The Reverse DNS (rDNS) PTR Record For Your VPS

Each of the IP addresses that your Farbyte VPS has been assigned can have its reverse DNS (rDNS)...

Delayed DNS Resolution On RHEL Derived VPS

Recently a client brought to our attention that there was sometimes a delay when making certain...