| TOP | | BACK | |
・named.conf の設定 key "rndc-key" { algorithm hmac-md5; secret "XXXXXXXXXXXXXXXXXXX"; }; controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; }; }; acl local-net { 192.168.XX.XX/XX ; 127.0.0.0/8 ; }; options { auth-nxdomain no ; directory "/" ; forwarders { 202.224.32.1 ; } ; version "10.0" ; allow-query { any ; } ; } ; view "local" { match-clients { local-net ; } ; recursion yes ; zone "." { type hint ; file "named.ca" ; }; zone "localhost" { type master ; file "localhost.zone" ; allow-query { local-net ; } ; }; zone "0.0.127.in-addr.arpa" { type master ; file "localhost.rev" ; allow-query { local-net ; } ; }; zone "makino.mydns.jp" { type master ; file "makino.mydns.jp.internal.zone"; allow-transfer { local-net ; } ; allow-query { local-net ; } ; }; zone "XX.XX.192.in-addr.arpa" { type master ; file "XX.XX.192.in-addr.arpa"; allow-transfer { local-net ; } ; allow-query { local-net ; } ; }; }; view "world" { match-clients { any; } ; recursion no ; zone "makino.mydns.jp" { type master ; file "makino.mydns.jp.external.zone"; allow-transfer { local-net ; 210.155.223.87 ; 202.224.32.1 ; } ; allow-query { any ; } ; }; zone "223.155.210.in-addr.arpa" { type master ; file "223.155.210.in-addr.arpa" ; allow-query { any ; } ; }; }; |