Hi All,

Is there any option to set recursion =1 in named.conf file for the zone. I just 
want bind9 to do recursion only once.
If bind9 receives answer from one of the forwarders then it should not do 
recursion (forward query) to any other forwarder IP.

Below is my snapshot of my named.conf file

options {
        listen-on port 53 { any; };
        listen-on-v6 port 53 { any; };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named.stats";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        allow-query     { localhost; !blocked; allowed; };
//      allow-query     { localhost; };
        recursion yes;
        zone-statistics            yes;
        dnssec-enable no;
        dnssec-validation no;
auth-nxdomain no;
        // additional-from-auth no;
         // additional-from-cache no;
        /* Path to ISC DLV key */
        bindkeys-file "/etc/named.iscdlv.key";

        managed-keys-directory "/var/named/dynamic";


};
zone "e164.arpa" IN {
type forward ;
forwarders { 127.0.0.1 port 49153;   199.165.24.21 port 49153; };
forward only;
};

Regards,
Sonal
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to