# ----------------------------------------------- # /etc/named.conf # ----------------------------------------------- options { directory "/var/named"; pid-file "/var/run/named.pid"; datasize default; stacksize default; coresize default; files unlimited; recursion yes; forward only; forwarders { 193.101.111.10; 193.101.111.20; }; allow-query { 192.168.1.0/24; 192.168.2.0/24; 127.0.0.0/8; }; allow-transfer { none; }; # query-source address * port 53; # ndots:1; }; zone "." IN { type hint; file "root.hint"; }; zone "localhost" IN { type master; file "localhost.zone"; check-names fail; allow-update { none; }; }; zone "0.0.127.in-addr.arpa" IN { type master; file "127.0.0.zone"; check-names fail; allow-update { none; }; }; # # a master zone # zone "my.domain" IN { type master; file "my.domain"; allow-update { none; }; allow-transfer { none; }; }; zone "1.168.192.in-addr.arpa" IN { type master; file "192.168.1.zone"; allow-update { none; }; allow-transfer { none; }; };