{"id":572,"date":"2006-02-17T02:00:00","date_gmt":"2006-02-16T17:00:00","guid":{"rendered":"https:\/\/ecoop.net\/memo\/2006-02-17-2.html"},"modified":"2017-03-16T15:55:35","modified_gmt":"2017-03-16T06:55:35","slug":"2006-02-17-2","status":"publish","type":"post","link":"https:\/\/www.ecoop.net\/memo\/archives\/2006-02-17-2.html","title":{"rendered":"bind8\/bind9 \u8a2d\u5b9a\u306e\u57fa\u672c"},"content":{"rendered":"<p>\nnamed.conf \u5168\u4f53\u8a2d\u5b9a\u3001zone \u306e\u9805\u76ee\u3067\u30be\u30fc\u30f3(\u30c9\u30e1\u30a4\u30f3\u3001\u9006\u5f15\u304d\u6642\u306e IP \u30a2\u30c9\u30ec\u30b9)\u3092\u5b9a\u7fa9\u3057\u3001\u5b9f\u969b\u306e DNS \u30ec\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u306f\u3001\u30be\u30fc\u30f3\u3054\u3068\u306b\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3057\u3066\u3044\u304f\u3002<\/p>\n<blockquote><p>named.conf:<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;options {<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;directory &#8220;\/etc\/named&#8221;; <br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/ \u4efb\u610f\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u3002\u3053\u3053\u3067\u8a2d\u5b9a\u3057\u305f\u3082\u306e\u304c\u3001<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/ \u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306a\u308b\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;};<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;\/\/ \u6b63\u5f15\u304d(\u30c9\u30e1\u30a4\u30f3 -> IP \u30a2\u30c9\u30ec\u30b9)\u7528\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;zone &#8220;example.org&#8221; { \/\/ example.org \u30c9\u30e1\u30a4\u30f3\u306b\u3064\u3044\u3066\u306e\u5b9a\u7fa9<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type master;  \/\/ \u4ed6\u306e DNS \u30b5\u30fc\u30d0\u3092\u53c2\u7167\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u81ea\u5206\u3067<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/ DNS \u30ec\u30b3\u30fc\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\u5834\u5408\u306f master\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/ \u4ed6\u306e\u30b5\u30fc\u30d0\u3092\u53c2\u7167\u3059\u308b\u5834\u5408\u306f slave<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;file &#8220;master\/example.org&#8221;; \/\/ \u5229\u7528\u3059\u308b\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u4efb\u610f\u306e\u3082\u306e\u3067\u3088\u3044\u3002master \u7528\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/ masters { 192.168.1.1; 10.0.0.10; }; \/\/ DNS \u30ec\u30b3\u30fc\u30c9\u53c2\u7167\u5148\u30de\u30b9\u30bf\u30b5\u30fc\u30d0\u3002slave \u7528\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;};<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;\/\/ \u9006\u5f15\u304d(IP \u30a2\u30c9\u30ec\u30b9 -> \u30c9\u30e1\u30a4\u30f3)\u7528\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;zone &#8220;1.168.192.in-addr.arpa&#8221; { \/\/ 192.168.1.* \u7528\u3002\u30c9\u30c3\u30c8\u533a\u5207\u308a\u3067\u9006\u8ee2\u3057\u3066\u3001in-addr.arpa \u3092\u4ed8\u52a0\u3059\u308b\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type master;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;file &#8220;master\/1.168.192.in-addr.arpa&#8221;;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;}\n<\/p><\/blockquote>\n<p>\u6b21\u306b\u30be\u30fc\u30f3\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002\u30c9\u30e1\u30a4\u30f3\u6307\u5b9a\u306e\u90e8\u5206\u3067\u306f\u3001\u6700\u5f8c\u306b\u30c9\u30c3\u30c8\u3092\u3064\u3051\u308b\u5f62\u5f0f(FQDN)\u306b\u3059\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u307e\u3059\u3002\u3053\u308c\u306f FQDN \u5f62\u5f0f\u3067\u306a\u3044\u3068\u5f8c\u306b\u30c9\u30e1\u30a4\u30f3\u540d\u304c\u7d9a\u304f(example.org \u306e\u30be\u30fc\u30f3\u8a2d\u5b9a\u306e\u5834\u5408\u3001ns.example.org \u306f ns.example.org.example.org.)\u3068\u89e3\u91c8\u3059\u308b\u305f\u3081\u3067\u3059\u3002\n<\/p>\n<blockquote><p>master\/example.org:<br \/>\n$TTL  3600       ; Default TTL. \u5168\u3066\u306e\u30ec\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u6709\u52b9\u671f\u9593\u3092\u4f55\u79d2\u306b\u3059\u308b\u304b\u3002<br \/>\n@   IN  SOA  ns.example.org.  postmaster.examle.org. (<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; \u7b2c\u4e00\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u3069\u306e\u30db\u30b9\u30c8\u306b\u3064\u3044\u3066\u306e\u30ec\u30b3\u30fc\u30c9\u304b\u3001\u3067 @ \u306f *.example.org \u306e\u610f\u5473\u3067\u3059\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; \u7b2c\u4e8c\u30d1\u30e9\u30e1\u30fc\u30bf\u306f IN \u306f Internet \u306e\u610f\u5473\u3067\u3059\u3002\u5e38\u306b IN \u306b\u3059\u308b\u3082\u306e\u3060\u3068\u601d\u3063\u3066\u3044\u3066\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; \u7b2c\u4e09\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u30ec\u30b3\u30fc\u30c9\u306e\u5185\u5bb9\u3067\u3059\u3002SOA \u306f Start of Authority \u306e\u610f\u5473\u3067\u3001\u30be\u30fc\u30f3\u8a2d\u5b9a\u3067\u6700\u521d\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; SOA \u30ec\u30b3\u30fc\u30c9\u306b\u306f\u5f8c\u308d\u306b\u4e8c\u3064\u30d1\u30e9\u30e1\u30fc\u30bf\u3068 ( \u301c ) \u304c\u7d9a\u304d\u307e\u3059\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; ns.example.org \u304c DNS \u30b5\u30fc\u30d0, postmaster.example.org \u304c<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; \u7ba1\u7406\u8005\u5b9b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9(@ \u3092 . \u306b\u7f6e\u304d\u63db\u3048\u305f\u3082\u306e)\u3067\u3059\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2006021714; Serial. \u4efb\u610f\u306e\u6570\u5024\u3067\u3088\u3044\u304c\u3001\u66f4\u65b0\u306e\u5fc5\u8981\u306e\u6709\u7121\u306f<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; \u3053\u306e\u6570\u5024\u4ee5\u4e0b\u304b\u3067\u5224\u5225\u3055\u308c\u308b\u305f\u3081\u3001<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;; \u66f4\u65b0\u306e\u969b\u306f\u3053\u306e\u6570\u5024\u4ee5\u4e0a\u306b\u3059\u308b\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600      ; Refresh (sec). \u66f4\u65b0\u78ba\u8a8d\u306e\u983b\u5ea6\u3092\u4f55\u79d2\u3054\u3068\u306b\u3059\u308b\u304b\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1000      ; Retry (times). \u5931\u6557\u6642\u306e\u8a66\u884c\u56de\u6570\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;86400     ; Expire (sec). \u5931\u6557\u3057\u305f\u3068\u304d\u306b\u4f55\u79d2\u5f8c\u306b\u7834\u68c4\u3059\u308b\u304b\u3002<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;86400     ; Minimum TTL(sec).<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;)<br \/>\n&nbsp;&nbsp;IN NS ns.example.org. ; example.org, *.example.org \u306e DNS \u30b5\u30fc\u30d0\u306e\u30c9\u30e1\u30a4\u30f3\u3092 ns.example.org \u306b\u3057\u307e\u3059\u3002<br \/>\n&nbsp;&nbsp;IN A 192.168.1.11     ; example.org, *.example.org \u306e\u540d\u524d\u89e3\u6c7a\u7d50\u679c\u3092 192.168.1.11 \u306b\u3057\u307e\u3059\u3002<br \/>\nns  IN A 192.168.1.2    ; ns.exmaple.org \u306e\u540d\u524d\u89e3\u6c7a\u7d50\u679c\u3092 192.168.1.2 \u306b\u3057\u307e\u3059\u3002<br \/>\nwww IN A 192.168.1.11   ; www.example.org \u306e\u540d\u524d\u89e3\u6c7a\u7d50\u679c\u3092 192.168.1.11 \u306b\u3057\u307e\u3059\u3002\n<\/p><\/blockquote>\n<blockquote><p>master\/1.168.192.in-addr.arpa:<br \/>\n$ORIGIN 1.168.192.in-addr.arpa. ; 192.168.1.* \u306b\u3064\u3044\u3066\u306e\u8a2d\u5b9a\u3067\u3042\u308b\u3053\u3068\u3092\u5ba3\u8a00<br \/>\n$TTL 3600<br \/>\n@ IN SOA ns.example.org.  postmaster.example.org. (<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2006021714  ; Serial<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600        ; Refresh<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1000        ; Retry<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;86400       ; Expire<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;86400       ; Minimum TTL<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;)<br \/>\n&nbsp;&nbsp;IN NS  ns.example.org.      ; Primary DNS<br \/>\n&nbsp;&nbsp;IN NS  ns2.exmaple.org.     ; Secondary DNS (Optional)<br \/>\n; \u4ee5\u4e0b IP \u30a2\u30c9\u30ec\u30b9\u3054\u3068\u306b\u56fa\u6709\u3067\u9006\u5f15\u304d\u8a2d\u5b9a\u3092\u3059\u308b\u5834\u5408\u306e\u307f\u8a18\u8ff0\u3059\u308b\u3002<br \/>\n1  IN PTR root.example.org.   ; 192.168.1.1 \u306e\u9006\u5f15\u304d\u7d50\u679c<br \/>\n11 IN PTR www.example.org.    ; 192.168.1.11 \u306e\u9006\u5f15\u304d\u7d50\u679c\n<\/p><\/blockquote>\n<p>\u53c2\u8003:<br \/>\n&#8211; <a href=\"http:\/\/web.archive.org\/web\/20090525032137\/http:\/\/www.b-dash.net:80\/solaris\/bind-8.1.2.html\">\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a<\/a><br \/>\n&#8211; <a href=\"http:\/\/www.bsddiary.net\/doc\/bind9.html#2\">bind9 \u8a2d\u5b9a<\/a><br \/>\n&#8211; <a href=\"http:\/\/www.atmarkit.co.jp\/fnetwork\/dnstips\/031.html\">\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u66f8\u304d\u65b9\u306b\u3064\u3044\u3066\u6559\u3048\u3066\u304f\u3060\u3055\u3044<\/a>(@IT)<br \/>\n&#8211; <a href=\"http:\/\/www.isc.org\/index.pl?\/sw\/bind\/\">ISC BIND<\/a>(English)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>named.conf \u5168\u4f53\u8a2d\u5b9a\u3001zone \u306e\u9805\u76ee\u3067\u30be\u30fc\u30f3(\u30c9\u30e1\u30a4\u30f3\u3001\u9006\u5f15\u304d\u6642\u306e IP \u30a2\u30c9\u30ec\u30b9)\u3092\u5b9a\u7fa9\u3057\u3001\u5b9f\u969b\u306e DNS \u30ec\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u306f\u3001\u30be\u30fc\u30f3\u3054\u3068\u306b\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3057\u3066\u3044\u304f\u3002 named.conf: &#038;nbsp &hellip; <a href=\"https:\/\/www.ecoop.net\/memo\/archives\/2006-02-17-2.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">bind8\/bind9 \u8a2d\u5b9a\u306e\u57fa\u672c<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[141],"tags":[36],"class_list":["post-572","post","type-post","status-publish","format-standard","hentry","category-lifehack","tag-network"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/comments?post=572"}],"version-history":[{"count":0,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/572\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/media?parent=572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/categories?post=572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/tags?post=572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}