Hello experts,
So the idea is that I have a Virtualmin server that would host some virtual servers (domains) and I would like to use other slave servers for DNS resolution of those domains. For example, domain example.com is hosted on Virtualmin hosting server and that is ok to be the zone master, BUT, I want to delegate resolution to other redundant specialized DNS servers: ns1-4.somedomain.com. So those would be slaves always in-sync with master and master shouldn't be used but only by slaves for transfers. It is perfectly alright for slaves to also run Virtualmin/Webmin.
What's the cleanest recommendation to do that? I am a bit puzzled about all the terms and options encountered: "Slave DNS", "Cluster Slave Servers", "Other DNS Servers", "Manually configured nameservers", "Primary nameserver", "Secondary nameservers", etc, it's like they're all over the place with unconsistent namings and I am lost.
You can throw in any good resources / tutorials on how to achieve this setup.
Thanks!
Howdy,
I'd probably use the slave DNS setup... and have your Virtualmin server as a "hidden" master.
So you'd setup two (or more) slave DNS servers for each of your Virtualmin servers. Virtualmin itself would be the master in each case, but wouldn't actually be used by clients as a nameserver.
You can have multiple Virtualmin servers pushing records out to the same slave DNS servers.
The slave DNS guide is here:
https://virtualmin.com/documentation/dns/slave-configuration
Thank you very much for your suggestions.
Having multiple Virtualmin hosting servers and a couple of NS, I was thinking about a setup in which i would prefer to avoid configuring all NS in the cluster for each hosting server. If one would have for example 10 hosting servers and 4 NS, that would mean 10x4=40 configurations.
Is it possible to have a setup in which for each hosting server you configure one main NS and that one in its turn will sync data with all other NS? That would reduce the required configurations to 10, one for each hosting server.
Hi,
We have a cluster of 5 "web" servers.
Each "web" server is configured as a "silent master" by default, and configured to sync with our "public slave" servers.
Essentially, we have 2 DNS servers which manage the public records of all 5 "web" servers.
While you do need to initially configure the relationship between the servers, from that point forward everything is automatic. That is, you add a domain to a server, and it creates/maintains all the DNS records on the slaves automatically.
I'd be happy to help you get things setup in this manner if you'd like. You'd then be able to continue the deployment for future servers.
Best Regards,
Peter Knowles
TPN Solutions
Email: pknowles@tpnsolutions.com
Phone: +1-604-782-9342
Skype: tpnassist (new)
Website: http://www.tpnsolutions.com
Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Hi Peter
I am searching for guideline for the setup you describe above, but I am not able to get it working my self. I have two virtualmin servers which need to be working as silent masters and then all zones should be created on two other virtualmin servers which acts as public DNS servers. I have tried to setup the master / slave model but somehow it doesn't work as intended. If I create a new DNS zone on the silent master it creates the zone on the two slave DNS servers. If I look into the zone on the slave servers, it holds the silent master NS record, which it shouldn't, don't know how to avoid that. If I also look into the zone options the silent master and the secondary slave server is listed as master servers. This should only hold the silent master and not the secondary slave server, no idea why it's there in the first place.
I could use some help to understand this and how to setup. Thanks in advance, looking forward to hear from you.
Tim,
I'd be happy to assist you in setting up things, just contact me by email or over Skype to setup a time to go over things.
Best Regards,
Peter Knowles
TPN Solutions
Email: pknowles@tpnsolutions.com
Skype: tpnassist
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Hi Eric
How do I use the "hidden" master model? Doesn't seem to get it working as intended.
Secondly, I am not able to locate the section "Setting the Master IP Address" in the KB https://www.virtualmin.com/documentation/dns/slave-configuration
Hi,
If you'd like personalized assistance in getting this setup, drop me a line. We use this type of setup in our own network where our "hosting" servers manage the master zone, but the published nameservers are actually slaves and published in the zone records.
Best Regards,
Peter Knowles
TPN Solutions
Email: pknowles@tpnsolutions.com
Phone: +1-604-782-9342
Skype: tpnassist (new)
Website: http://www.tpnsolutions.com
Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist