I am issuing again this bug. On issue 42015, I filed 2 bugs. First one was solved. This is the 2nd one which remains.
My slave server has 2 ips (2 isps with load balancing) On master DNS in webmin/services/bind/zone_defaults on Also-notify slaves and allow-transfers I use listed and put the 2 ips of the slave server. This worked as expected for years and on /etc/bind/named.conf.local on the new zone the also-notify and allow-transfer sections contained always 2 ips. However i recently noticed that on newly created servers only 1 ip is used. I think it is the ip of the cluster slave server.
An example
zone "testdom11.gr" {
type master;
file "/etc/bind/testdom11.gr.hosts";
also-notify {
66.77.88.99;
//missing 2nd ip here
};
notify yes;
allow-transfer {
127.0.0.1;
localnets;
66.77.88.99;
//missing 2nd ip here
};
};
I have always put the configuration on webmin/services/bind/zone_defaults on Also-notify slaves and allow-transfers and it worked. Did something change recently? Should I put it somewhere else from now on?
Regards, Vagelis Koutsomitros
Comments
Submitted by JamieCameron on Wed, 10/05/2016 - 19:18 Comment #1
Are these domains created via Virtualmin, or are you editing them directly in the BIND DNS Server module?
Submitted by web_support@web... on Thu, 10/06/2016 - 07:17 Pro Licensee Comment #2
They are created from Virtualmin
Submitted by JamieCameron on Thu, 10/06/2016 - 23:36 Comment #3
Ok, I see. Where exactly in Virtualmin do you have these two extra slave DNS servers configured?
Submitted by web_support@web... on Fri, 10/07/2016 - 02:43 Pro Licensee Comment #4
These are not 2 slave servers. I have one slave server with dual ip (2 isps).
In the master server the slave server is configured in Webmin bind module in cluster slave servers using only 1 ip.
I cannot add the 2nd ip here in cluster slave servers, because it would think it is a 2nd slave server and try to create slave zone twice.
3-4 years ago you have suggested putting these 2 ips of the slave server, on bind module of the master server in webmin/services/bind/zone_defaults on Also-notify slaves and allow-transfers.
This worked for years until recently.
Should i configure it differently?
Submitted by JamieCameron on Fri, 10/07/2016 - 16:13 Comment #5
The best place to enter additional slave IPs is at System Settings -> Server Templates -> Default Settings -> BIND DNS Server, in the "Additional manually configured nameservers" box.
Submitted by web_support@web... on Sat, 10/08/2016 - 02:53 Pro Licensee Comment #6
This worked for both master and slave dns!
With this setting i removed also another setting in Webmin i had, because it was no longer needed. In bind module configuration, on cluster slave server Default master server IP for remote slave zones, i specified master ips. Now i set back to default : IP address of hostname.
So it is working now according to my needs. Thank you!
Submitted by JamieCameron on Sun, 10/09/2016 - 00:41 Comment #7
Great!
Submitted by JamieCameron on Sun, 10/09/2016 - 00:41 Comment #8