Custom name servers are required to host DNS on your CloudServer. This will allow you to add domain names to your DNS server on your dedicated server and use that for DNS resolution. Giving you full control over the DNS records of your domain name. Setting up the custom name servers is actually as simple as adding a couple A records to a domain name.
1. You will need to choose which domain name you want to use as your name server. You are going to be creating ns1.your-domain-name.com and ns2.your-domain-name.com so choose the domain name you are ok with publicly displaying as a DNS server. For example GearHost uses ns1.gearhost.com and ns2.gearhost.com. But we also could have chosen ns1.gearhost.net.
2. After you have decided on the domain name you will need to add two A records. Your secondary and primary IP address can be found in your welcome email. If you cannot find them please contact support and we can get them for you. Another clue is to look at the first and second IP address on your network card.
- Add an A record called NS1 to your domain name in DNS and point it to the primary IP address of your server.
- Add another A record called NS2 and point this to your secondary IP address.
3. Now that the records have been created you will need to use them for your registered domain name. Name servers for a domain are always changed with the domain name registrar. If you do not remember or know the registrar you can do a WHOIS lookup using the URL below.
Once you know who the registrar is you will need to register custom name servers. Each registrar is going to be a little different so you will need to use their help guides or contact their support to learn how.