I have multiple domains which list as:
- domain.com
- domain.org
- domain.biz
- domain.mobi
and I also have 2 IP addresses which are:
- 46.4.198.15
- 46.4.198.16
The server IP is:
- 46.4.198.1
Now, I want to set them up to be able to work with the domains I have, which of course has to point to the ns1.domain.com
and ns2.domain.com
, however I want to set them up in Webmin, which the nameservers will be pointed as:
- ns1.domain.com --> 46.4.198.15
- ns2.domain.com --> 46.4.198.16
Then all domains will point to ns1.domain.com
and ns2.domain.com
. I have no idea how to do so.
EDIT:
Okay, I've managed to install BIND DNS module for Webmin, I have done the following:
Created master zone (domain.com).
Created 2 nameservers in Name Server Records
domain.com. -> ns1.domain.com
domain.com. -> ns2.domain.com
Created 3 addresses in Address Records
domain.com. -> 46.4.198.1
ns1.domain.com. -> 46.4.198.15
ns1.domain.com. -> 46.4.198.16
I've also done it to the following other domains, but they all point to ns1.domain.com
and ns2.domain.com
, yet I still don't see my DNS being propagated, it's been 3+ days. Even What's my DNS has reported my DNS is not propagated yet. Am I doing something wrong?
First, you will need to register those nameservers at the registrar of your example.com. As for the webmin part, 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'.
Ref: http://www.virtualmin.com/documentation