Hi,
I try to figure out how to create an slave dns of an DA master.
This is what I have, no errors, no results either .
When I do a dig @xx.xx.xx.xx xxx.nl
I receive a reply with an other ip (which is the active original ip) of an other dns server. But not the ip I have in my DNS.
What am I doing wrong?
I try to figure out how to create an slave dns of an DA master.
This is what I have, no errors, no results either .
ll /etc/named.conf
-rw-r--r-- 1 named named 1300 Jul 8 18:18 /etc/named.conf
cat /etc/named.conf
## named.conf - configuration for bind
#
# Generated automatically by bindconf, alchemist et al.
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
include "/etc/rndc.key";
options {
directory "/var/named/";
check-names master fail;
check-names slave warn;
check-names response ignore;
};
logging {
channel my_file {
file "/var/named/log.msgs";
severity dynamic;
print-category yes;
print-severity yes;
};
category default { default_syslog; my_file; };
category panic { default_syslog; my_file; };
category packet { my_file; };
category eventlib { my_file; };
category queries { my_file; };
};
zone "xxx.nl" { type slave; file "/var/named/xxx.nl.db"; masters { yy.yy.yy.yy; }; };
zone "127.in-addr.arpa" {
type master;
file "127.rev";
};
zone "." in {
type hint;
file "db.cache";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
include "/etc/rndc.key";
ll /etc/named
drwxr-xr-x 5 named named 4096 Jun 12 11:46 chroot
-rw-r--r-- 1 named named 195 Oct 22 2003 localhost.zone
drwxr-xr-x 2 named named 4096 Jul 7 20:35 manual
-rw-r--r-- 1 named named 2499 Oct 22 2003 named.ca
-rw-r--r-- 1 named named 433 Oct 22 2003 named.local
-rw-r--r-- 1 named named 694 Jul 7 20:35 xxx.nl.db
cat xxx.nl.db
$TTL 14400
@ IN SOA ns1.xxx.nl. root.xxx.nl. (
2004070500
7200
3600
1209600
86400 )
xxx.nl. 14400 IN NS ns1.xxx.nl.
xxx.nl. 14400 IN NS ns2.xxx.nl.
ftp 14400 IN A xx.xx.xx.xx
localhost 14400 IN A xx.xx.xx.xx
mail 14400 IN A xx.xx.xx.xx
pop 14400 IN A xx.xx.xx.xx
www 14400 IN A xx.xx.xx.xx
xxx.nl. 14400 IN A xx.xx.xx.xx
xxx.nl. 14400 IN MX 10 mail
xxx.nl. IN TXT "v=spf1 -all"
When I do a dig @xx.xx.xx.xx xxx.nl
I receive a reply with an other ip (which is the active original ip) of an other dns server. But not the ip I have in my DNS.
What am I doing wrong?