My reverse lookups don't work (was: Re: How do I test reverse lookups?)
Yan Seiner
yan at cardinalengineering.com
Wed Nov 24 13:16:40 UTC 1999
OK, I'm stumped.
I've set up everyting the way I think it should be set up. We use a
bogus internal domain (cardinal.lan) for which portia is the DNS server.
I've set up both the cardinal.lan and in-addr.arpa domains. Forward
lookups are fine. Reverse lookups produce this:
[root at aphrodite /root]# host 192.168.0.1
1.0.168.192.IN-ADDR.ARPA domain name pointer iago.cardinal.lan
or, in verbose mode:
1.0.168.192.IN-ADDR.ARPA. 1D IN PTR iago.cardinal.lan.
0.168.192.in-addr.arpa. 1D IN NS portia.cardinal.lan.
portia.cardinal.lan. 1D IN A 192.168.0.2
rcode = 0 (Success), ancount=1
1.0.168.192.IN-ADDR.ARPA 86400 IN PTR
iago.cardinal.lan
For authoritative answers, see:
0.168.192.in-addr.arpa 86400 IN NS portia.cardinal.lan
Additional information:
portia.cardinal.lan 86400 IN A 192.168.0.2
Win32 boxes, which use DHCP, cannot log on to the DNS server using samba
with this config. When I go back to my caching only name server, all is
well. I am stumped.
Snippets from the files:
named.conf:
zone "0.168.192.in-addr.arpa"{
type master;
file "named.hosts.rev";
};
zone "cardinal.lan"{
type master;
file "named.hosts";
named.hosts:
@ IN SOA portia.cardinal.lan. bind.cardinal.lan.
(
2007022700 ; serial
28800 ; refresh
14400 ; retry
360000 ; expire
86400 ; default_ttl
)
IN NS portia.cardinal.lan.
IN MX 10 portia
;localhost
localhost. IN A 127.0.0.1
;aliases
mail IN CNAME portia
www IN CNAME aphrodite
;servers
iago IN A 192.168.0.1
portia IN A 192.168.0.2
aphrodite IN A 192.168.0.3
named.hosts.rev:
[root at portia named]# cat named.hosts.rev
@ IN SOA portia.cardinal.lan. bind.cardinal.lan.
(
2007022700 ; serial
28800 ; refresh
14400 ; retry
360000 ; expire
86400 ; default_ttl
)
IN NS portia.cardinal.lan.
;servers
1 IN PTR iago.cardinal.lan.
2 IN PTR portia.cardinal.lan.
3 IN PTR aphrodite.cardinal.lan
Any help at all is greatly appreciated.....
--Yan
--
__ __
| / /
/------/
-- / \ / \ --
/ /\ \ / /\ \
| / | \/--|-- |
\ / \ /
~~ ~~
"The older I get, the faster I was."
More information about the bind-users
mailing list