Hi,
Im currently trying to setup zones for my local domain with bind 9.2.4 on Debian Sarge.
I setup zone files and edited named.conf.local, then restarted named, but I cannot lookup my hosts.
Code:
BruteForce $ nslookup Nihilanth
Server: 192.168.6.1
Address: 192.168.6.1#53
** server can't find Nihilanth: NXDOMAIN
For servers outside my network, domain lookup works well.
This is my named.conf.local (included by named.conf) :
Code:
zone "mydomain.ath.cx" {
type master;
file "db.mydomain.ath.cx";
};
zone "6.168.192.in-addr.arpa" {
type master;
file "db.192.168.6";
};
The forward zone file:
Code:
$TTL 604800
@ IN SOA Gateway.mydomain.ath.cx. root.mydomain.ath.cx. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS Gateway.mydomain.ath.cx.
Gateway IN A 192.168.6.1
Nihilanth IN A 192.168.6.2
BruteForce IN A 192.168.6.3
and my reverse zone file:
Code:
$TTL 604800
6.168.192.in-addr.arpa. IN SOA Gateway.mydomain.ath.cx. root.mydomain.ath.cx. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS Gateway
1 IN PTR Gateway
2 IN PTR Nihilanth
3 IN PTR BruteForce
Please note, that I replaced my domainname with "mydomain".
named-checkconf and named-checkzone do not report any errors.
I would really appreciate any help.