acl hosssocom { 192.168.0.0/24; 127.0.0.1; }; options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; forwarders { 203.141.2.1; 203.141.1.157; }; }; # Local Network Zone Setting(ローカルネットワーク設定) view "localnet" { match-clients { hosssocom; }; # この view の対象ホスト群 recursion yes; # 再起検索設定をする #お約束 zone "." IN { type hint; file "named.ca"; }; zone "hosso.com" IN { type master; file "hosso.com.zone.local"; }; # 内部IPから逆引き zone "0.168.192.in-addr.arpa" IN { type master; file "hossocom.rev"; }; # localhost正引き zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; # localhost逆引き zone "0.0.127.in-addr.arpa" IN { type master; file "localhost.rev"; allow-update { none; }; }; }; # Global Network Setting(グローバルネットワーク設定) view "globalnet" { match-clients { any; }; recursion no; # 再帰問い合わせ禁止 zone "hosso.com" IN { type master; file "hosso.com.zone"; }; }; include "/etc/rndc.key";