acl int {192.168.3.1/29; 127.0.0.1/32;}; options { dnssec-validation no; directory "/var/cache/bind"; statistics-file "/var/cache/bind/named_stats.txt"; dump-file "/var/cache/bind/named.dump"; auth-nxdomain no; # conform to RFC1035 version "bitch"; hostname "not_a_bitch"; minimal-responses yes; dnssec-enable no; allow-transfer { none; }; forwarders {77.88.8.8; 77.88.8.1; 212.118.241.33; }; #Указываем внешние DNS allow-update { none; }; allow-recursion { int; }; listen-on-v6 { none; }; listen-on port 53 { 127.0.0.1; 192.168.3.1; }; #интерфейсы, на которых будет слушаться наш DNS allow-query { int; }; }; logging { channel "misc" { file "/var/log/bind/misc.log" versions 4 size 8m; print-time yes; print-severity yes; print-category yes; }; channel "query" { file "/var/log/bind/query.log" versions 4 size 8m; print-time yes; print-severity no; print-category no; }; category default { "misc"; }; category queries { "query"; }; };