What am I doing wrong here? I'm trying to set up a DNS-server for my LAN. It uses the ip range 192.168.0.0/24 I have a BIND8-nameserver set up with the basic settings that came with SuSE. Works fine so far. dns-services are running. However, if I use the nameserver from any other machine it says:
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 192.168.0.1
DNS request timed out.
timeout was 2 seconds.
Name:
www.genion.de
Address: 195.182.114.93
So obviously it is not able to reverse-lookup 192.168.0.1, the machine my nameserver is running on. So I read the HOWTO and it told me to set up this reverse lookup entry in /etc/named.conf. Here it is:
options {
directory "/var/named";
# the default is to fail, if the master file is not correct
check-names master warn;
pid-file "/var/run/named.pid";
datasize default;
stacksize default;
coresize default;
files unlimited;
recursion yes;
multiple-cnames no;
};
zone "." IN {
type hint;
file "root.hint";
};
zone "localhost" IN {
type master;
file "localhost.zone";
check-names fail;
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "127.0.0.zone";
check-names fail;
allow-update { none; };
};
zone "192.168.0.in-addr.arpa" IN {
type master;
file "home.zone";
check-names fail;
allow-update { none; };
};
I myself added the last zone. for debugging purposes I copied the 127.0.0.zone file to home.zone. I'll post it here as well:
@ 1D IN SOA localhost. root.localhost. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
1D IN NS localhost.
1 1D IN PTR localhost.
Now my problem is if I issue (as said in the HOWTO)
# dig -x 192.168.0 AXFR
it doesn't return anything. But it logs the following in /var/log/messages:
denied AXFR from [127.0.0.1].1186 for "0.168.192.in-addr-arpa" (not master/slave)
I'm really stuck on this one. double-checked all the entries twice... I believe they are as told in the HOWTO
Any help is really welcome!
Steave