configuring DNS not to answer queries except local domains (or not to forward certain queries)

masaki akashi m.akashi at rdc.west.ntt.co.jp
Thu Nov 13 10:59:39 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



More information about the bind-users mailing list