Jo Are Rosland <[EMAIL PROTECTED]> writes:

> And again: it's really no reason why you can't put all of this into one zone
> instead.

Haaaa... that was what I needed.  Many thanks for hanging in there.

I managed to confuse myself quite a lot on this.  I thought to do that
(go up one level and use 1 reverse file. db.192.168) it meant I needed
to set up the domain that way to.

That is, use 192.168/16 addressing for my domain local.lan.
So all lan netmasks become 255.255.0.0.  And I had found that is a
very complicated way to set things up.  Also leads to prolems with
each machine (the ones with 2 nics) not knowing who is supposed to do
what.

Then requiring speciallized routes to be set so 192.168.1.1 knows to
call 192.168.1.2 without going thru default gw of 192.168.0.20.

Down that path, just about all of it is a few jumps above my head.

So I had scrapped that notion thinking both bind setup and network
setup would need all that complication to go that way.

After setting up bind as you suggested with one main Pointer
file. (not counting db.127.0.0)

Scrapping db.192.168.0 and db.192.168.1 in favor of:
  db.192.168

Right away nslookup knows who 192.169.1.2 is and dig shows the
glorious output...


; <<>> DiG 9.3.2 <<>> -x 192.168 axfr
;; global options:  printcmd
168.192.in-addr.arpa.   86400   IN      SOA     reader.local.lan. 
reader.reader.local.lan. 200405190 28800 14400 2419200 86400
168.192.in-addr.arpa.   86400   IN      NS      reader.local.lan.
16.0.168.192.in-addr.arpa. 86400 IN     PTR     bjp.local.lan.
19.0.168.192.in-addr.arpa. 86400 IN     PTR     fwobsd.local.lan.
20.0.168.192.in-addr.arpa. 86400 IN     PTR     fw.local.lan.
21.0.168.192.in-addr.arpa. 86400 IN     PTR     ansil.local.lan.
22.0.168.192.in-addr.arpa. 86400 IN     PTR     harvey.local.lan.
3.0.168.192.in-addr.arpa. 86400 IN      PTR     mob2.local.lan.
4.0.168.192.in-addr.arpa. 86400 IN      PTR     reader.local.lan.
50.0.168.192.in-addr.arpa. 86400 IN     PTR     wap.local.lan.
1.1.168.192.in-addr.arpa. 86400 IN      PTR     fwodmz.local.lan.
2.1.168.192.in-addr.arpa. 86400 IN      PTR     rdmz.local.lan.
168.192.in-addr.arpa.   86400   IN      SOA     reader.local.lan. 
reader.reader.local.lan. 200405190 28800 14400 2419200 86400
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Mar  5 09:50:15 2006
;; XFR size: 13 records (messages 1)


-- 
gentoo-user@gentoo.org mailing list

Reply via email to