blocking queries

Cricket Liu cricket at acmebw.com
Mon Dec 13 23:03:55 UTC 1999


> Is there a directive I can put somewhere to block
> queries from a specific IP address?

Depends on the version of BIND, but basically, yes.  With BIND
8, use the allow-query substatement:

options {
    allow-query { ! 192.168.0.1; };
};

or you can use it as a zone substatement.

You could also use the blackhole substatement to blackhole
that address.

cricket

Acme Byte & Wire
cricket at acmebw.com
www.acmebw.com

Attend the next Internet Software Consortium/Acme Byte & Wire
DNS and BIND class!  See www.acmebw.com/training.htm for
the schedule and to register for upcoming classes.



More information about the bind-users mailing list