reverse DNS problem on LAN
Slawomir Orlowski (CYMPAK)
sorlowski at cympak.com
Wed Jun 8 18:53:15 UTC 2005
Good morning,
I have just read RFC 2317 http://www.simpledns.com/rfc/rfc2317.txt, employed
it.
Neither ISP nor registrar do not provide me yet with reverse DNS.
Nontheless I had it set up reverse DNS in named.conf:
zone "227.138.198.in-addr.arpa" {
type master;
file "227.138.198.in-addr.arpa";
}
and I could look up any of my addresses from my CIDR 198.138.227.64/26
nslookup 198.138.227.87 on my LAN did give me proper DNS name,
to have it set for Internet I understand it will have to be set up at my
Reverse DNS provider (IPS or registrar ?) and delegated to me.
After it, as I understand, it would be enought to change only named.conf to:
zone "65-126.227.138.198.in-addr.arpa" {
type master;
file "227.138.198.in-addr.arpa";
}
or in RFC notation
zone "64/26.227.138.198.in-addr.arpa" {
type master;
file "227.138.198.in-addr.arpa";
}
I did that before calling (ISP or registrar) and my reverse DNS is not
working on my LAN ?
(I'm getting: server can't find 87.227.138.198.in-addr.arpa: NXDOMAIN) after
nslookup 198.138.227.87
When I repleace in named.conf
zone "64/26.227.138.198.in-addr.arpa" {
with
zone "227.138.198.in-addr.arpa" {
as it was, it works again.
Is it normal ? Would it work on the Internet after delegating it and do not
work on my LAN ?
Can it be set up to work on Internet and my LAN in the some time.
Should registrar DNS named.conf file look like this:
zone "227.138.198.in-addr.arpa" {
type slave;
file "227.138.198.in-addr.arpa";
masters {198.138.227.66 my DNS; IP addreses of other companies DNS's};
}
227.138.198.in-addr.arpa file:
..
64/26 NS ns1.my.domain.
64/26 NS ns2.my.domain.
…
$GENERATE 65-126 $ CNAME $.64/26.227.138.198.in-addr.arpa.
…
I would really appreciate if anyone would give me any hints or answers to my
questions.
Best Regards
Slawomir Orlowski
More information about the bind-users
mailing list