John has a domain registered named domain.com. John wants to set up his own name servers (DNS) using the addresses ns1.domain.com and ns2.domain.com. The problem with this is that because of the way that DNS works, every time someone tries to access domain.com, they will have to check with one of the subdomains (ns1.domain.com or ns2.domain.com) for the address which are both "under" the domain. Since you can't get to a subdomain before getting to the domain, and the domain is what we are looking for in the first place, we seem to be stuck. Let's personify the process for finding the correct address for a domain in the DNS lookup process:
The solution to this is to set up a glue record. A glue record will glue the IP address to the domain/subdomain so that the process is a bit more like:
This time the name came with an address since they were "glued" together! Now that's helpful!
This process may seem very technical but setting up a glue record in the 1&1 Control Panel is actually quite easy and may have already happened without you even knowing it. Any time a subdomain is created with "ns" at the beginning, a glue record is automatically created for this subdomain. Follow the next steps to get a better understanding:
Log in to the 1&1 Control Panel using your Customer ID OR domain name and your password
If you have only one package, you will land on the Administration page. If you have more than one package, select the package in question to reach its Administration page.
Click the Domains link from the Domains & Webspace panel.
Click the down arrow button next to New and select Create Subdomain.
Enter a subdomain that starts with "ns" such as ns1, ns2, etc. and select the appropriate domain from the drop-down box.
Click the OK button when finished to create the subdomain.
The subdomain should be set up within the next 15 minutes or so. The glue record will be applied to the subdomain since it starts with "ns" however since the glue record is a DNS record, it may take 24-48 hours until fully updated and recognized by all servers/computers on the Internet.
You must have at least two name server addresses. Repeat this process to create another subdomain that starts with "ns" such as ns2.
If you need to change the IP address that the subdomain points to, please reference How do I edit/change a domain's IP Address (A record)?