[Samba] Configuration of a Bind slave server

Daniel Carrasco MarĂ­n danielmadrid19 at gmail.com
Tue Nov 17 12:00:29 UTC 2015


HI,

Is there any way to configure a slave bind server?. I'm trying to do it but
the zone is not updated.

My conf file on master are:
named.conf.options:
options {
        directory "/var/cache/bind";

        dnssec-validation auto;

        allow-transfer {192.168.222.254;};

        tkey-gssapi-keytab "/var/lib/samba/private/dns.keytab";

        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
};

and in slave i've created this zone entry:
zone "domain.red" IN {
        type slave;

        masters {
                192.168.222.250;
        };

        file "domain.red";
        notify no;
};


The Slave log only shows the connection but did not show any error:
Nov 17 12:51:07 SlaveServer named[25306]: general: debug 1: soa_query: zone
domain.red/IN: enter
Nov 17 12:51:07 SlaveServer named[25306]: general: debug 1:
refresh_callback: zone domain.red/IN: enter
Nov 17 12:51:07 SlaveServer named[25306]: general: debug 1:
refresh_callback: zone domain.red/IN: serial: new 7, old not loaded
Nov 17 12:51:07 SlaveServer named[25306]: general: debug 1: queue_xfrin:
zone domain.red/IN: enter
Nov 17 12:51:07 SlaveServer named[25306]: general: info: zone
domain.red/IN: Transfer started.
Nov 17 12:51:07 SlaveServer named[25306]: general: debug 1: zone
domain.red/IN: no database exists yet, requesting AXFR of initial version
from 192.168.222.250#53
Nov 17 12:51:07 SlaveServer named[25306]: xfer-in: info: transfer of
'domain.red/IN' from 192.168.222.250#53: connected using
192.168.222.254#27985

And master has no entries on log about this...

What i can be doing wrong?

Thanks!!


More information about the samba mailing list