slave dns configuration when master dns has 2 internet static ips

I have 2 servers running virtualmin pro.

One of them (server1) has 2 public static ips from 2 internet providers.
Lets say 62.11.11.11 and 62.22.22.22
All outgoing traffic is loadbalanced and all services can be accessed from the internet through either of these ips, (including dns)

The other (server2) lets say it has 1 ip : 62.33.33.33

On server1 and on webmin servers index I have added server2. On bind cluster slave servers I have also added server2 checking Create secondary on slave when creating locally?

On server2 and on webmin servers index I have added server1 from ip 62.11.11.11. On bind cluster slave servers I have also added server1 from this ip checking Create secondary on slave when creating locally?

Now when creating a master zone from webmin on server1 a slave zone is created on server2 (and vice versa). The same happens when I create a domain from virtualmin on server1. The slave dns on server2 is created ok (and vice versa)

So far so good!

Since i have 2 ips on server1 i would like the following.
When i create a master zone on server1 I would like the slave zone on server2 to know about 2 masters 62.11.11.11 and 62.22.22.22 (the 2 ips on server1)

In the /etc/bind/named.conf.local on server2 something like
zone "test-mydom.gr" {
type slave;
masters {
62.11.11.11;
62.22.22.22;
};
file "/var/cache/bind/test-mydom.gr.hosts";
};

And when I create a master zone on server2 I would like it to notify 2 slaves 62.11.11.11 and 62.22.22.22 (the 2 ips on server1)
In the /etc/bind/named.conf.local on server2 something like
zone "test-mydom.gr" {
type master;
file "/etc/bind/test-mydom.gr";
also-notify {
62.11.11.11;
62.22.22.22;
};
notify yes;
allow-transfer {
62.11.11.11;
62.22.22.22;
};
};

I tried to add on server2 onwebmin servers index, server1 with its 2nd ip 62.22.22.22. And also on bind on cluster slave servers.

But the configuration files dont get created as i expect
When i create a master zone on server1 file /etc/bind/named.conf.local on server2 becomes something like
zone "test-mydom.gr" {
type slave;
masters {
62.11.11.11;
};
file "/var/cache/bind/test-mydom.gr.hosts";
};
only one ip sometimes 62.11.11.11 and other times 62.22.22.22;

when I create a master zone on server2 file /etc/bind/named.conf.local on server2 becomes what I expected, something like
zone "test-mydom.gr" {
type master;
file "/etc/bind/test-mydom.gr";
also-notify {
62.11.11.11;
62.22.22.22;
};
notify yes;
allow-transfer {
62.11.11.11;
62.22.22.22;
};
};

but in the slave dns server1 file named.conf.local I get strangely the following
zone "test-mydom.gr" {
type slave;
masters {
62.11.11.11;
62.33.33.33;
};
file "/var/cache/bind/test-mydom.gr.hosts";
};

Only 62.33.33.33 (server2); is correct because 62.11.11.11; is its own ip.
But I surely haven't added itself on webmin servers index nor on bind cluster dns servers.

I have also tried BIND DNS Server module, Module Config, Zone file options section, Default master server IP for remote slave zones field. I added 2 ips there separated by space but it only gets the first one. Separation by ; or , fails

I suppose my setup with 2 ips on 1 server is not so ordinary, and the scripts on virtualmin and webmin behave as these 2 ips where on 2 different servers.

However I really need this kind of setup and I would appreciate if you suggest a solution.
Or maybe include a configuration option somewhere in webmin to note down 2 internet public ips for the server, so that the server is added once only in the cluster and the scripts can take use of both ips on bind or other services. BIND DNS Server module Config could be a place or a more general approach an option on webmin servers index.

Thank you very much for your time reading this!

Status: 
Closed (fixed)