sameersbn / docker-bind

Dockerize BIND DNS server with webmin for DNS administration
MIT License
913 stars 333 forks source link

Master and Slave inside Docker, cannot establish slave relationship #103

Open ncresswell opened 4 years ago

ncresswell commented 4 years ago

Hi there,

I have two docker hosts, and each is running an instance of the bind container.

One of the instances i have defined as master and the other will be a slave.

I have configured webmin servers and can connect to the slave from the master.

I now try to establish the slave host, but cannot do so as it errors with “unable to determine ip address”

I have tried to follow the instructions below, however cannot see any entry for “Default master server IP for remote slave zones field.”

What do i need to do in order for two containers to talk to each other, as they are on the docker bridge network, so can only access each other using their host ip’s.

Thanks

Setting the Master IP Address (optional)

Go to Servers>BIND DNS Server, and click on Module Config.

In the Cluster slave servers section, find the Default master server IP for remote slave zones field.

Enter the IP address of your master server.

Click Save. Any DNS zones created from now on will use that IP.

Click Apply Configuration in the right corner.