Bind9, testing transfer of slave zone from master results in connection refused

2 posts / 0 new
Last post
#1 Fri, 06/14/2019 - 14:29
lp

Bind9, testing transfer of slave zone from master results in connection refused

Hello

I'm using bind9 with webmin to try and set up a dns secondary for our primary nameserver. I'm in what I assume should be a very simple situation but I'm not able to get the master to transfer zones to the slave. I've configured the master to have the slave in the Webmin Server Index and configured it as slave under Cluster Slave Servers, then configured allow transfers on the master with the ip of the slave. iptables -nL shows ports 53 and 953 as open on both master and slave. netstat -lnpt shows named listening to 53 (on master and slave), yet when I run test transferring the records to the slave I get:

Testing transfer of slave zone from 10.191.0.2 ..
.. from 10.191.0.3 : Failed : ;;
Connection to 10.191.0.2#53(10.191.0.2)
for test.example.com failed: connection refused. 

Configs for zone on master

zone "test.example.com" {
    type master;
    file "/var/lib/bind/test.example.com.hosts";
    notify yes;
    allow-transfer {
        10.191.0.3;
        };
};

Configs for zone on slave

zone "test.example.com" {
    type slave;
    masters {
        10.191.0.2;
        };
    file "/var/lib/bind/test.example.com.hosts";
    allow-transfer {
        10.191.0.2;
        };
    allow-update {
        10.191.0.2;
        };
};

I know I'm missing something, but I can't seem to figure it out.

Thanks for any help

Mon, 06/17/2019 - 14:05
lp

Turns out only port 53 for udp was open, not 53 tcp as well.

Topic locked