Menu

#5440 Cluster Slave Server Zone Transfer sets 127.0.0.1 as master on slave

1.970
open
nobody
None
5
2021-01-11
2021-01-07
No

Hi there.

I've got an issue with transferring zones from Master to Slaves using Webmin's Cluster Slave Server Module:

  • Added Slave using the Cluster Slave Server Module: Top-Level, Yes, Yes, Same as Host
  • Webmin says "ok, transeferred x zones to slave"
  • On the slave in named.conf.local zones then appear like this:

zone "agathe.gq" {
type slave;
masters {
127.0.1.1;
};
allow-transfer {
127.0.1.1;
};
file "/var/lib/bind/agathe.gq.hosts";
};

  • Bind configcheck reports no errors
  • Webmin reports no errors
  • Firewall Ports 53 tcp/udp, 953 tcp and 10000-10100 tcp are open on both servers

My questions:

  • Why will webmin define 127.0.1.1. (localhost...) as master on the slave zone and not the IP of the actual master? This prevents the actual zone transfer. When I change 127.0.1.1. to the correct master's IP the transfer works fine instantly.
  • How can I tell webmin to define the correct IP of the master in the slave zone?

Distr: Debian 10.7
Webmin: 19.70
Bind: 9.11.5
(on both master and slave server)

I'd very much appreciate your help for a quick solution. This is only on my testing environment. I plan to move from Plesk to webmin/virtualmin with a bunch of zones - preconditioned the zone transfer works automatically...

Thanks in advance, guys.

Magnus.

Discussion

  • Magnus Schmitz

    Magnus Schmitz - 2021-01-07

    Hey...just found the solution in Virtualmin Forum.

    Very tricky to have a lot of different channels to search in....sourceforge, git, forum...

    But I got it :)

     
  • Jamie Cameron

    Jamie Cameron - 2021-01-11

    What was the solution?

     

Log in to post a comment.