reverse zone for 192.168.x.y not working but 192.168.100.x does
Barry Margolin
barmar at genuity.net
Thu Mar 7 16:51:22 UTC 2002
In article <a6855m$qr1 at pub3.rc.vix.com>, <r_no at hotmail.com> wrote:
>
>I try to setup a DNS to answer all the 192.168 class B,
>here is my config:
># LL, FR, ISDN
>zone "168.192.in-addr.arpa" in {
> type master;
> file "db.192.168";
>};
>
>
>and here is my db.192.168 (well part of it)
>$TTL 86400 ; 1 day
>@ SOA darkstar.ln.x.com. postmaster.darkstar.ln.x.com.
>(
> 29020207 ; serial
> 10800 ; refresh (3 hours)
> 3600 ; retry (1 hour)
> 604800 ; expire (1 week)
> 3600 ; minimum (1 hour)
> )
> NS darkstar.ln.x.com.
>
>
>;this line was for test purpose
>100.1 PTR s0-1-b1
>; in case this one dosen't work
>192.168.100.1 PTR s0-1-b1
>192.168.100.2 PTR s2/0-1-v1
>192.168.100.5 PTR s0/0-1-z2
>192.168.100.6 PTR s2/0-2-v1
>192.168.100.9 PTR s0-1-l1
This should be:
1.100 PTR ...
2.100 PTR ...
or:
1.100.168.192.in-addr.arpa. PTR ...
2.100.168.192.in-addr.arpa. PTR ...
Also, you need to put fully-qualified hostnames.
>His their a way to make it works or does I have to create a domain for
>every 192.168.x I have (192.168.100, 192.168.110, 192.168.120,
>192.168.130, 192.168.140, 192.168.150, 192.168.160), I use mostly for
>Leased line, Frame Relay, ISDN, PSTN and tunnel configuration, and I
>don'0t want to have 7 diffrent file, to mutch think to do !
>Anyone can help ?
There's no problem with putting it all in the same zone, but you have to
get the syntax right in the first place.
--
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
More information about the bind-users
mailing list