named not reverse resolving
- From: Sven <no@xxxxxxxx>
- Date: Thu, 09 Mar 2006 22:20:42 +0000
Hello bind experts!
I'm running FBSD 6.0 with bind and want to use it to provide DNS for my lan and wlan networks. Just hosting the lan seems to be fine and I can do forward and reverse lookups on it, but reverse loopups on the wlan do not seem to work - they simply time out. This also affects the system startup - sshd sits and waits.
Can anyone point in the right direction - I used to have this working but now for some reason after a re-install the magic is gone. I attached my config files.
Sven.
-------------------------------------------------------------------------------
lan: 192.168.1.2/24 - home.lan - forward and reverse lookup works
wlan: 192.168.0.2/24 - home.air - forward lookup works, reverse doesn't
-------------------------------------------------------------------------------
/etc/named/named.conf
options {
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
listen-on { 127.0.0.1; 192.168.1.2; 192.168.0.2; };
forwarders {
xxx.xxx.xxx.xxx;
xxx.xxx.xxx.xxx;
xxx.xxx.xxx.xxx;
};
};
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "master/localhost.rev";
};
zone "home.lan" {
type master;
file "master/home.lan";
};
zone "home.air" {
type master;
file "master/home.air";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "master/1.168.192.in-addr.arpa";
};
zone "0.168.192.in-addr-arpa" {
type master;
file "master/0.168.192.in-addr.arpa";
};
-------------------------------------------------------------------------------
/etc/named/master/home.lan
$TTL 3600
home.lan. IN SOA ns.home.lan. root.helba.home.lan. (
2006021202 ; serial number YYMMDDNN
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ; Min TTL
)
; DNS servers
@ IN NS ns.home.lan.
; Machine names
localhost IN A 127.0.0.1
helba IN A 192.168.1.2
pomme IN A 192.168.1.3
rei IN A 192.168.1.4
@ IN A 192.168.1.2
; Aliases
ns.home.lan IN CNAME @
mail.home.lan IN CNAME @
www.home.lan IN CNAME @
; Mail record
@ IN MX 10 mail.home.lan.
-------------------------------------------------------------------------------
/etc/named/master/1.168.192.in-addr.arpa
$TTL 3600
1.168.192.in-addr.arpa. IN SOA ns.home.lan. root.helba.home.lan. (
2006021202 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
3600 ; Minimum
)
@ IN NS ns.home.lan.
2 IN PTR helba.home.lan.
3 IN PTR pomme.home.lan.
4 IN PTR rei.home.lan.
-------------------------------------------------------------------------------
/etc/named/master/home.air
$TTL 3600
home.air. IN SOA ns.home.air. root.helba.home.lan. (
2006030803 ; serial number YYMMDDNN
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ; Min TTL
)
; DNS servers
@ IN NS ns.home.air.
; Machine names
localhost IN A 127.0.0.1
helba IN A 192.168.0.2
pomme IN A 192.168.0.3
rei IN A 192.168.0.4
airport IN A 192.168.0.5
marius IN A 192.168.0.6
@ IN A 192.168.0.2
; Aliases
ns.home.air IN CNAME @
mail.home.air IN CNAME @
www.home.air IN CNAME @
; Mail record
@ IN MX 10 mail.home.air.
-------------------------------------------------------------------------------
/etc/named/master/0.168.192.in-addr.arpa
$TTL 3600
@ IN SOA ns.home.air. root.home.home.lan. (
2006030803 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
3600 ; Minimum
)
@ IN NS ns.home.air.
2 IN PTR helba.home.air.
3 IN PTR pomme.home.air.
4 IN PTR rei.home.air.
5 IN PTR airport.home.air.
6 IN PTR marius.home.air.
-------------------------------------------------------------------------------
.
- Follow-Ups:
- Re: named not reverse resolving
- From: Michel Talon
- Re: named not reverse resolving
- Prev by Date: Re: Application installs keep failing???
- Next by Date: Re: FreeBSD startup optimization
- Previous by thread: FreeBSD startup optimization
- Next by thread: Re: named not reverse resolving
- Index(es):
Relevant Pages
|