# # DNSのIPがメンテナンス等で変更された場合は # # o cp /etc/resolv.conf /etc/resolv.conf.lib100 # # o kill -TERM `cat /var/run/dhcpcd-eth0.pid` # /usr/local/sbin/dhcpcd eth0 # # で /etc/resolv.conf を更新し、nameserverに # 記述されたIPアドレスを、下記のforwardersに # 記述する # # o cp /etc/resolv.conf.lib100 /etc/resolv.conf # acl "trustnet" { 127.0.0.1/32; 192.168.0.0/24; }; options { directory "/var/named"; allow-query { trustnet; }; allow-transfer { none; }; allow-query-cache { trustnet; }; allow-recursion { trustnet; }; dnssec-validation no; forward first; forwarders { xxx.xxx.xxx.1; xxx.xxx.xxx.2; }; version "unknown"; }; logging { category lame-servers { null; }; }; zone "." in { type hint; file "named.root"; }; zone "localhost" { type master; file "localhost.zone"; }; zone "0.0.127.in-addr.arpa" in { type master; file "localhost.rev"; }; zone "artie.or.jp" in { type master; file "artie.or.jp.zone"; }; zone "0.168.192.in-addr.arpa" in { type master; file "artie.or.jp.rev"; };