vanity custom dns

Nov 20, 01:31 AM

How do I setup nameservers for my server?

In order to use your Virtualmin server as a DNS server, it needs to be setup so that names like ns1.example.com and ns2.example.com can be input as a domain’s nameservers.

For that to work — you first have to go to the domain name registrar for example.com, and register your server as a nameserver. It’s usually as simple as inputting two or more names (such as ns1.example.com and ns2.example.com), and the IP addresses that are associated with them.

How to accomplish that is different for every domain name registrar. A lot of folks use GoDaddy

Namecheap is another popular registrar, and performing that task with Namecheap is documented here

DONT FORGET TO MANUALLY CREATE THE TWO SUBDOMAINS!
ns1.edwardsmarkf.com
ns2.edwardsmarkf.com

After registering your nameservers at your domain name registrar — you’ll want to log into Virtualmin, select your “example.com” domain, click Server Configuration -> DNS Records, and create a new “A – IPv4 Address” record for ns1.example.com and ns2.example.com.

Lastly, you’ll want to tell Virtualmin to use your nameservers when it generates NS records for new Virtual Servers that it creates. You can do that by going into ‘System Settings’ -> ‘Server Templates’ -> ‘Default Settings’ -> ‘BIND DNS Domain’, and set ‘Master DNS server hostname’ as well as ‘Additional manually configured nameservers’.

Mark Edwards

,

---

Commenting is closed for this article.

---