zone transfer problem
Edwin Pijper
e.pijper at zonnet.nl
Fri Jun 30 14:02:35 UTC 2000
When I configure a slave nameserver, the nameserver will not transfer the
zone files.
I have the following configuration:
/prj/dns/etc/named.conf on the aplabu39:
#--------------------------------------------------------------------
options {
pid-file "etc/named.pid";
dump-file "logs/dump.log";
statistics-file "logs/statistics.log";
};
controls {
unix "bin/ndc.socket" perm 0600 owner 12000 group 12000;
};
logging {
channel dns_info {
file "logs/dns_info.log";
severity info;
print-severity yes;
print-time yes;
};
channel dns_debug {
file "logs/dns_debug.log";
size 50k;
severity dynamic;
print-severity yes;
print-time yes;
};
channel dns_error {
file "logs/dns_error.log";
size 50k;
severity error;
print-severity yes;
print-time yes;
};
category default { dns_info; dns_error; dns_debug; };
};
zone "." in {
type hint;
file "data/db.cache";
};
zone "0.0.127.in-addr.arpa" in {
type master;
notify no;
file "data/db.127.0.0";
};
zone "test.bel.nl" in {
type master;
notify no;
file "data/db.test";
allow-transfer { 10.8.60.44; };
};
#-----------------------------------------------------
I tried (as root) to transfer the zone "test.bel.nl" from the aplabu44
(10.8.60.44)
with the following commands:
<aplabu39> named -u dns -g dns -t /prj/dns -b etc/named.conf
<aplabu44>/prj/dns/logs > named-xfer -s 0 -z test.bel.nl -f db.test
10.8.60.39
<aplabu44>/prj/dns/logs > echo $?
4
<aplabu44>/prj/dns/logs > tail -100 /var/adm/syslog/syslog.log | grep named
Jun 30 09:03:54 aplabu44 named-xfer[30128]: send AXFR query 0 to 10.8.60.39
The log on the aplabu39:
30-Jun-2000 09:04:55.919 info: approved AXFR from [10.8.60.44].43894 for
"test.bel.nl"
30-Jun-2000 09:04:55.922 info: zone transfer (AXFR) of "test.bel.nl" (IN) to
[10.8.60.44].43894
I got a file "db.test" on the aplabu44.
When I configure a slave nameserver (on the aplabu44) after this test, the
transfer won't work. How can
I resolv this? The named.conf on the aplabu44 is the same as the named.conf
on the aplabu39 with the following lines
zone "test.belastingdienst.nl" in {
type slave;
masters { 10.8.60.39; };
notify no;
file "data/db.test";
};
Please help me!!!
Edwin Pijper
More information about the bind-users
mailing list