Creating DNS Glue Records

modem

Verified User
Joined
Apr 7, 2004
Messages
355
In my research of DNS glue records I have found that many places suggest that each domain that is created have it's own 'glue' records. These are simply 'A' records that have the domain point to the name servers. For example, my modemnet.net domain has the following:

modemnet.net. NS ns1.modemnet.biz.
modemnet.net. NS ns2.modemnet.biz.

Is there ANYWAY to have DirectAdmin create a record like that automatically when a new account is created? For example if someone purchased the account darocks.com the following would be created:

darocks.com. NS ns1.modemnet.biz.
darocks.com. NS ns2.modemnet.biz.
 
unless I'm totally misunderstanding you DA does this - have a look at user level in the DNS management part of the control panel

Rob
 
Hey,

Under the Reseller Level then in the Extra Features area choose Nameservers...

That is where you "Set the Nameservers that will be assigned to new users".

David
 
Thanks, I totally had forgotten about that. The reason I asked is that after changing the server IP... the 'glue' records weren't there anymore.
 
modem said:
In my research of DNS glue records I have found that many places suggest that each domain that is created have it's own 'glue' records. These are simply 'A' records that have the domain point to the name servers.
It's not quite that simple.

Here's a quote from a page on the DynDNS.org website:
A glue record is an A record (quick refresher: A records map hostnames to IPs) that is placed in the same DNS servers as the NS records that handle the delegation. So, for example, the .org servers have glue records for ns.dyndns.org, ns2.dyndns.org, and so, pointing these hostnames to their respective IPs. Glue records are thus very useful... in the right circumstances. The problem, of course, is that the IP in a glue record will generally be used instead of the IP in the appropriate domain's DNS; so, if you have a www.yourdomain.com glue record pointing to 1.2.3.4, and yourdomain.com in Custom DNS with www.yourdomain.com pointing to 4.5.6.7, most DNS queries will return the 1.2.3.4 IP.
Read carefully and you'll see that a glue record is an a record pointing, for example, ns1.example.com, to it's IP#. But it's NOT in the DNS server for the domain, it's in the root server for the top-level domain, i.e., .com, .net, .org, etc.

The way you create a glue record is by adding the nameserver at your registrar.

Jeff
 
Back
Top