[Techtalk] Reverse DNS confusion
nGirl
nancy at nancygirl.net
Thu May 23 12:29:16 EST 2002
I haven't had any issues with US based ISP delegating reverse blocks of smaller than /24. Pacific Bell even delegated a /29 to me.
Though most ISPs follow the RFC 2317 way of delegation http://www.ietf.org/rfc/rfc2317.txt Which looks like this:
Your ISP would add this to their 1.168.192.in-addr.arpa. zone file:
32/27. 1.168.192.in-addr.arpa. IN NS ns1.test.com.
32/27. 1.168.192.in-addr.arpa. IN NS ns2.test.com.
33 IN CNAME 33. 32/27. 1.168.192.in-addr.arpa.
34 IN CNAME 34. 32/27. 1.168.192.in-addr.arpa.
35 IN CNAME 35. 32/27. 1.168.192.in-addr.arpa.
and so on...
You would need to add this to your named.conf :
zone "32/77. 1.168.192.in-addr.arpa"{
type master;
file "reverse";
};
Your zone file "reverse" would contain this:
33 IN PTR hosts.domain.tld.
I hope this helps!
Nancy
-----Original Message-----
From: Dushyanth Harinath [mailto:dushy at symonds.net]
Sent: Tuesday, May 21, 2002 1:12 AM
To: techtalk
Subject: [Techtalk] Reverse DNS confusion
Hi folks,
Iam having a small doubt regarding Reverse DNS setup. The issue is
something like this.
My ISP has assigned me a block if IP's say from the network
192.168.1.0/27. My block of IP's are 192.168.1.32/27 . Now i have setup
forward DNS and i have no problem understanding that. But iam stuck with
reverse DNS. I have created a reverse zone 1.168.192.in-addr.arpa and
gave the PTR records to my hosts in the zone file. Is this ok ?. Can i
create a reverse zone for entire 192.168.1.0/27 ?.
Below is named.conf for bind9.1.3.
//named.conf
options {
directory "/var/named";
listen-on { 192.168.1.33; };
allow-recursion {192.168.1.32/27;};
};
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "archeanlabs.net"{
type master;
file "forward";
};
zone "1.168.192.in-addr.arpa"{
type master;
file "reverse";
};
forward and reverse file contain the forward and reverse mappings and
they work well.
The IP's i have given here is from a fictional network, actually we have
a block of routable IP's. We have our web servers, mail server etc
running and now we want to have our own DNS servers for our block. For
that i have created to host records ns1.test.com and ns2.test.com at
netsol pointing to our DNS server's. So can i create a reverse zone for
the entire network like specified above and give PTR records to only the
hosts in my block or is there any other procedure to follow ?
Am i confused here ?
TIA
dushyanth
--
In a world full of people only some want to fly, Isn't that crazy
- Seal
Dushyanth Harinath
http://www.archeanit.com
http://symonds.net/~dushy
_______________________________________________
Techtalk mailing list
Techtalk at linuxchix.org
http://mailman.linuxchix.org/mailman/listinfo/techtalk
More information about the Techtalk
mailing list