Refusing query for a domain

Barry Margolin barmar at genuity.net
Thu Dec 20 16:01:41 UTC 2001


In article <9vsoln$5as at pub3.rc.vix.com>,
Aymeric BLAZY  <ablazy at mediafusion.es> wrote:
>I use a bind 9.2 server on a linux box. Is there a way to refuse my server 
>to resolv some domain. Can someone point me to a example of configuration 
>if this possible ?

Configure it as a master server for that domain and use the "allow-query"
zone option to refuse queries:

zone "baddomain.com" {
  type master;
  file "db.baddomain.com";
  allow-query { none; };
};

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list