Submitted by danfix on Sat, 05/17/2014 - 13:56 Pro Licensee
Hi
I wanted to find out if i am doing this correct. I want the same nameservers for all the virtual hosts.
Virtualmin - system settings - server templates - default settings - bind dns domian Additional manually configured nameservers: ns2.domain.com Master dns server hostname - Hostname: ns1.domain.com
Webmin - networking - network configuration - a. Hostname & dns client Hostname: ns1.domain.com or do i put domain.com?
b. Host Addresses 127.0.0.1 ns1.domain.com,localhost IP Address ns1.domain.com
Thanks
Status:
Active
Comments
Submitted by andreychek on Sat, 05/17/2014 - 14:07 Comment #1
Howdy -- for setting the nameservers for your domains, you don't need to change the hostname of your server, or the /etc/hosts file.
However, you would indeed want to set the "Master dns server hostname" field in the BIND DNS Server template.
Also, if you have any secondary/slave DNS servers, you can set them in the "Additional manually configured nameservers" field on that same screen.
Once those are set -- Virtualmin will add those as "NS" records for any new domains that are created.