Question on DNS "options allow-query"

Jim Reid jim at mpn.cp.philips.com
Tue Jun 22 09:40:32 UTC 1999


>>>>> "Steve" == Steve Snyder <swsnyder at home.com> writes:

    Steve> So what is the correct way to allow only queries from the
    Steve> local subnet?  (My goal here is to preclude the acceptance
    Steve> of queries from the Internet but to answer those from local
    Steve> machines.)

Try
      allow-query { localnets };

localnets is a pattern which matches the subnets of all the network
interfaces that are connected to the name server.

See html/acl.html in the doc tarball.



More information about the bind-users mailing list