[lug] DNS config question

Nate Duehr nate at natetech.com
Tue Jun 12 00:47:36 MDT 2001


First, upgrade.  At least BIND 8.2.4.

But beyond that... you may way to check out "views" in BIND 9.

On Fri, Jun 01, 2001 at 09:08:56AM -0700, Anders Knudsen wrote:
> 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.
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

-- 
Nate Duehr <nate at natetech.com>

GPG Key fingerprint = DCAF 2B9D CC9B 96FA 7A6D AAF4 2D61 77C5 7ECE C1D2
Public Key available upon request, or at wwwkeys.pgp.net and others.



More information about the LUG mailing list