установка: yum install bind-chroot caching-nameserver Конфигурационный файл: ''options {\\ listen-on port 53 { 127.0.0.1; 172.16.0.78; };\\ 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";\\ // Those options should be used carefully because they disable port\\ // randomization\\ query-source port 53;\\ // query-source-v6 port 53;\\ allow-query { localhost; 172.16.0.0/24; 172.16.0.72; };\\ allow-query-cache { localhost; 172.16.0.0/24; 172.16.0.72; };\\ allow-recursion {127.0.0.1; 172.16.0.0/24; 172.16.0.72; };\\ forwarders {8.8.8.8;};\\ };\\ logging {\\ channel default_debug {\\ file "data/named.run";\\ severity dynamic;\\ };\\ };\\ view localhost_resolver {\\ match-clients { localhost; };\\ match-destinations { localhost; };\\ recursion yes;\\ include "/etc/named.rfc1912.zones";\\ };\\ view net_resolver {\\ match-clients { 172.16.0.0/24; };\\ match-destinations { 172.16.0.0/24; };\\ recursion yes;\\ include "/etc/named.rfc1912.zones";\\ }; ''