[lug] DNS config question

Anders Knudsen anders.knudsen at broadlogic.com
Fri Jun 1 10:08:56 MDT 2001


Is there a way in the DNS config file to specify the nameserver should only 
respond to queries for a given range of IP #'s (i.e., with a netmask?)

Here is my setup.

Network is 192.168.6.193/27 (netmask of 255.255.255.224)
That is, I want DNS to respond to queries from 192.168.6.193 to 
192.168.6.224 (31 ip #s).

If I do this: (I'm using bind4 btw)

primary    mydomain.com    db.mydomain
primary    6.168.192.in-addr.arpa    db.192.168.6

That's for the entire range of 192.168.6.0 through .255.

So, how do I limit it? How do I specify a "netmask" in the config/boot file?

TIA,
-Anders.




More information about the LUG mailing list