Как отключить рекурсию ДНС запросов для bind

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск


для Centos 5/6 нужно добавить в Options { ... } - recursion no;

# vi /etc/named.conf
options {
       listen-on port 53 { all; };
       listen-on-v6 port 53 { ::1; };
       directory       "/var/named";
       dump-file       "/var/named/data/cache_dump.db";
       statistics-file "/var/named/data/named_stats.txt";
       memstatistics-file "/var/named/data/named_mem_stats.txt";
       recursion no;
       allow-query     { localhost; };
       allow-query-cache { localhost; };
}; 
# /etc/init.d/named restart Stopping named: . [ OK ] Starting named: [ OK ]
Индекс цитирования