configuring DNS not to answer queries except local domains (or not to forward certain queries)
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Thu Nov 13 15:27:56 UTC 2003
> Hi all
>
> Does anyone know how to setup the BIND9 not to answer queries
> except local domains.
>
>
> my /etc/named.conf is like:
>
> Acl localnet {
> 10.60.XX.16/28;
> 127.0.0.1;
> };
>
> options {
> directory "/var/named";
> allow-transfer { localnet; };
> allow-query { localnet; };
> };
>
> view "watch" {
> match-clients { any; };
> allow-query { any; };
>
> zone "com" {
> type forward;
> forwarders {};
> };
> }
>
> I understand, I should write "recursion no", but this time
> I need recursion.
>
> Does anyone have a clue? or pointer_
>
> Thanks in advance.
>
> --
> masaki akashi
You don't have any "local" zones in this config.
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list