I'm moving toward locally based dns servers rather than host based I have 2 webmin servers running the above versions of software I have got bind to transfer dns records in both directions so each webmin server is a master & a slave of the other. so far so good. Next thing to (I was thinking) was to create 2 name server records (per domain) one for the master domain & the other for the slave, will this work ? I do have more than IP per webmin server so was it be a better idea to just point the nameservers to 2 differents IP's ? I have tried this but mxtoolbox moans that the name servers are on the same subnet. Any Ideas on how to proceed ?
Status:
Active
Virtualmin version:
614
Webmin version:
1970
Comments
Submitted by JamieCameron on Sun, 01/17/2021 - 17:24 Comment #1
Yes, you should have two NS records in each domain - one for the master and one for the slave. However, there's no value in having multiple NS records that point to different IPs on the same machine.
Ok all nearly done how do I fix this ?
everything appears to work ok but I just hate errors
Submitted by JamieCameron on Mon, 01/18/2021 - 15:57 Comment #3
Where are you seeing that error?
If it's from some DNS validation service, make sure that at your registrar you have both nameservers listed for the domain.
Fixed it, webmin/virtualmin created the start of the dns record with
changinging this to
'vps93227036.123-vps.co.uk' being the hostname at setup and was altered later on.
The webmin interface does not allow you to edit this part of the dns zone so it was done by hand Just found the editor in webmin bind->zone->Zone Parameters
Submitted by JamieCameron on Wed, 01/20/2021 - 21:34 Comment #5
You can configure the hostname used in SOA records at Webmin -> Servers -> BIND DNS Server -> Zone Defaults.
Ok one more question when you use
does webmin write any data to any files in the folder /etc/bind e.g named.conf ?