can no longer set 2 ips on also-notify and allow-transfer sections on bind zones

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

Status: 
Closed (fixed)

Comments

Are these domains created via Virtualmin, or are you editing them directly in the BIND DNS Server module?

They are created from Virtualmin

Ok, I see. Where exactly in Virtualmin do you have these two extra slave DNS servers configured?

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?

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.

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!

Status: Active » Fixed