options { directory "/var/bind"; forwarders { 88.188.16.3; }; listen-on-v6 { none; }; pid-file "/var/run/named/named.pid"; }; view "local"{ match-clients { 127.0.0.1; }; recursion yes; zone "." IN { type hint; file "named.ca"; }; zone "localhost" IN { type master; file "pri/localhost.zone"; allow-update { none; }; notify no; }; zone "127.in-addr.arpa" IN { type master; file "pri/127.zone"; allow-update { none; }; notify no; }; zone "dnsdomain.ru" { type master; file "pri/intra.dnsdomain.ru.hosts"; }; zone "1.168.192.in-addr.arpa" { type master; file "pri/intra.ip.zone"; }; zone "32-47.16.188.88.in-addr.arpa" { type master; file "pri/extra.ip.zone"; }; }; view "internal" { match-clients { 192.168.34.0/24; 88.188.16.32/28; }; recursion yes; zone "." IN { type hint; file "named.ca"; }; zone "dnsdomain.ru" { type master; file "pri/intra.dnsdomain.ru.hosts"; }; zone "1.168.192.in-addr.arpa" { type master; file "pri/intra.ip.zone"; }; zone "32-47.16.188.88.in-addr.arpa" { type master; file "pri/extra.ip.zone"; }; }; view "external" { match-clients { any; }; recursion no; zone "." IN { type hint; file "named.ca"; }; zone "dnsdomain.ru" { type master; file "pri/extra.dnsdomain.ru.hosts"; }; zone "32-47.16.188.88.in-addr.arpa" { type master; file "pri/extra.ip.zone"; }; };