{"id":708,"date":"2007-02-01T23:23:00","date_gmt":"2007-02-01T14:23:00","guid":{"rendered":"https:\/\/hdmr.org\/d\/read.php\/1170339787"},"modified":"2007-02-01T23:23:00","modified_gmt":"2007-02-01T14:23:00","slug":"read-1170339787","status":"publish","type":"post","link":"https:\/\/hdmr.org\/d\/read.php\/1170339787","title":{"rendered":"iptables\u306b\u3059\u3053\u3057\u60d1\u308f\u3055\u308c\u3066BIND\u306b\u3055\u3089\u306b\u60d1\u308f\u3055\u308c\u308b"},"content":{"rendered":"<p>\u90e8\u6d3b\u306eServer\u5165\u308c\u66ff\u3048\u306b\u5099\u3048\u3066\u3001\u3061\u3087\u3063\u3068\u5b9f\u9a13\u3002<br \/>\u307e\u305a\u3001Server\u7528\u30a2\u30d7\u30ea\u3067\u3059\u3051\u3069\u3001\u4eca\u307e\u3067\u306b\u4f7f\u3063\u3066\u3044\u308b\u3084\u3064<br \/>\u30fbApache2(HTTP)\u00d7PHP5\u3000\u3000\u30fbPostfix(SMTP)\u3000\u3000\u3000\u30fbdovecot(IMAP)<br \/>\u30fbProFTPD(FTP)\u3000\u3000\u30fbOpenSSH(SSH)\u3000\u3000\u30fbSamba(Windows\u5171\u6709)<br \/>\u524d3\u3064\u304c\u30e1\u30a4\u30f3\u3067\u3059\u306d\u3002\u5f8c\u308d3\u3064\u306f\u5f8c\u65b9\u652f\u63f4\u306e\u305f\u3081\u3068\u8a00\u304a\u3046\u304b\u3002<br \/>\u3067\u3059\u3051\u3069\u3001\u90e8\u6d3b\u306e\u30b5\u30fc\u30d0\u30fc\u306f\u3053\u308c\u306b\u3055\u3089\u306b\u30eb\u30fc\u30bf\u30fc\u6a5f\u80fd\u30fbDNS\u6a5f\u80fd\u304c\u5fc5\u8981\u3067\u3059\u3002<br \/>\u524d\u8005\u306fiptables\u3001\u5f8c\u8005\u306fBIND\u3067\u5b9f\u73fe\u3059\u308b\u306e\u304c\u666e\u901a\u3067\u3059\u306d\u3002<br \/>\u4e00\u5fdc\u3001\u4e21\u65b9\u3068\u3082\u30c6\u30b9\u30c8\u306f\u3057\u305f\u3093\u3060\u3051\u3069\u3001\u3061\u3087\u3063\u3068\u4e0d\u5be9\u306a\u70b9\u304c\u3042\u3063\u3066\u3001<br \/>\u6539\u3081\u3066\u2026\u8003\u3048\u3066\u307f\u305f\u3002<br \/>\u307e\u305aiptables\u306e\u50cd\u304d\u306f\u3001\u5165\u30fb\u51fa\u30fb\u8ee2\u9001\u3059\u308b\u901a\u4fe1\u306b\u3064\u3044\u3066\u30d5\u30a3\u30eb\u30bf\u3092\u304b\u3051\u308b\u3053\u3068\u3002<br \/>\u307e\u3041\u3060\u304b\u3089\u30d5\u30a1\u30a4\u30e4\u30fc\u30a6\u30a9\u30fc\u30eb\u7684\u306a\u3053\u3068\u3060\u3051\u306b\u4f7f\u3063\u3066\u308b\u4eba\u3082\u3044\u308b\u3051\u3069\u3002<br \/>\u307e\u305a\u3001\u305d\u308c\u305e\u308c\u306e\u8a2d\u5b9a\u3092\u7c21\u5358\u306b\u8aac\u660e\u3057\u3066\u304a\u304f\u3068<br \/>\u5165:\u30dd\u30ea\u30b7\u30fc\u306f\u62d2\u5426\u3001\u5fc5\u8981\u306a\u30dd\u30fc\u30c8\u30fbLAN\u5185\u304b\u3089\u30fb\u6210\u7acb\u3057\u305f\u901a\u4fe1\u306f\u8a31\u53ef<br \/>\u51fa:\u30dd\u30ea\u30b7\u30fc\u306f\u8a31\u53ef\u3001WAN\u5074\u306eWindows\u5171\u6709\u306e\u30dd\u30fc\u30c8\u306f\u62d2\u5426<br \/>\u8ee2\u9001:\u30dd\u30ea\u30b7\u30fc\u306f\u8a31\u53ef\u3001\u767a\u4fe1\u5143\u3092\u81ea\u5206\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u3068WAN\u304b\u3089\u3042\u308b\u30dd\u30fc\u30c8\u306b\u5165\u3063\u3066\u304d\u305f\u306e\u3092LAN\u5185\u306b\u8ee2\u9001<br \/>\u3068\u3044\u3046\u3060\u3051\u3067\u3059\u3002\u307e\u30412\u3064\u306f\u30d5\u30a1\u30a4\u30e4\u30a6\u30a9\u30fc\u30eb\u305d\u306e\u3082\u306e\u3060\u3057\u3001<br \/>\u6700\u5f8c\u306e\u306f\u30eb\u30fc\u30bf\u30fc\u304c\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u305d\u306e\u3082\u306e\u3067\u3059\u3002<br \/>\u3053\u3046\u3044\u3046\u306e\u3092\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u66f8\u304d\u9023\u306d\u3066\u3001\u305d\u308c\u3092\u5b9f\u884c\u3057\u3066\u8a2d\u5b9a\u3059\u308b\u3084\u308a\u65b9\u304c\u666e\u901a\u3002<br \/>\u305d\u3046\u305d\u3046\u3001\u3053\u308c\u306fConf\u30d5\u30a1\u30a4\u30eb\u3068\u304b\u66f8\u304f\u3093\u3058\u3083\u306a\u304f\u3066iptables\u30b3\u30de\u30f3\u30c9\u3067\u3072\u305f\u3059\u3089\u8a2d\u5b9a\u3059\u308b\u3002<br \/>\u3067\u3082\u3001\u305d\u308c\u3092\u3044\u3061\u3044\u3061\u6253\u3064\u306e\u306f\u5927\u5909\u3060\u304b\u3089\u3001\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u304b\u306b\u66f8\u3044\u3066\u304a\u304f\u3002<br \/>\u305f\u3060\u3057\u3001\u30b5\u30fc\u30d3\u30b9\u3092\u843d\u3068\u3059\u3068\u8a2d\u5b9a\u306f\u98db\u3076\u3001\u3060\u304b\u3089<br \/># service iptables save<br \/>\u3067\u4fdd\u5b58\u3057\u3066\u304a\u304f\u3002\u305d\u308c\u3060\u3051\u3067\u3059\u3002<br \/>\u3067\u3001BIND\u306f\u3080\u3061\u3083\u304f\u3061\u3083\u6709\u540d\u306aDNS\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u306d\u3002<br \/>\u307e\u3041\u3001DNS\u306f\u8a2d\u5b9a\u304c\u96e3\u3057\u3044\u3082\u3093\u3067\u3059\u3002\u3044\u308d\u3044\u308d\u96e3\u3057\u3044\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3002<br \/>\u307e\u305aDNS\u30b5\u30fc\u30d0\u30fc\u306e\u3084\u308b\u4ed5\u4e8b\u3092\u7c21\u5358\u306b\u8a00\u3046\u3068<br \/>libserver.ddo.jp\u3068\u805e\u304b\u308c\u305f\u308961.121.226.140\u3068\u7b54\u3048\u3066(\u6b63\u5f15\u304d)\u3001<br \/>61.121.226.140\u3068\u805e\u304b\u308c\u305f\u3089dhcp-139.nava21.ne.jp\u3068\u7b54\u3048\u308b(\u9006\u5f15\u304d)\u3002<br \/>\u307e\u3041\u3001\u81ea\u5206\u306e\u7ba1\u7406\u3059\u308b\u7bc4\u56f2\u306f\u6b63\u5f15\u304d\u30fb\u9006\u5f15\u304d\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3068\u3053\u3046\u3068\u3002<br \/>\u307e\u3041\u5b9f\u306f\u30eb\u30fc\u30bf\u30fc\u7684\u306a\u306e\u306b\u3064\u3051\u308b\u3068\u304d\u3082\u30461\u3064\u30dd\u30a4\u30f3\u30c8\u304c\u3042\u3063\u3066\u3001\u5185\u5411\u304dDNS\u3068\u5916\u5411\u304dDNS\u3092\u4f5c\u3089\u306a\u3044\u304b\u3093\u3068\u3002<br \/>\u5185\u5411\u304dDNS\u306fLAN\u306e\u4e2d\u304b\u3089\u3044\u308d\u3044\u308d\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306e\u306b\u805e\u304d\u306b\u884c\u304fDNS\u3001<br \/>\u5916\u5411\u304dDNS\u306f\u72ec\u81ea\u30c9\u30e1\u30a4\u30f3\u3092\u3068\u3063\u305f\u308a\u3057\u305f\u4eba\u304c\u3001\u5916\u306e\u4eba\u304c\u30c9\u30e1\u30a4\u30f3\u304b\u3089IP\u30a2\u30c9\u30ec\u30b9\u3092\u5f15\u3051\u308b\u3088\u3046\u306b\u3059\u308b\u3068\u3044\u3046DNS\u3002<br \/>\u3053\u306e\u8fba\u306f\u3088\u304f\u308f\u304b\u3089\u3093\u3051\u3069\u3001\u524d\u8005\u306f\u666e\u901a\u30eb\u30fc\u30bf\u30fc\u304c\u3084\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\u307e\u3041\u3053\u308c\u306b\u95a2\u3057\u3066\u306f\u5f8c\u3067\u7814\u7a76\u3059\u308b\u3068\u3057\u3066\u3001\u4eca\u56de\u3057\u305f\u306e\u306fLibserver\u306bBIND\u3092\u53d6\u308a\u4ed8\u3051\u305f\u3002<br \/>\u3053\u308c\u306e\u30e1\u30ea\u30c3\u30c8\u306f\u3001\u5bb6\u306e\u4e2d\u304b\u3089\u666e\u901a\u306blibserver.ddo.jp\u3068\u5165\u308c\u308b\u3060\u3051\u3067192.168\u301c\u3068\u3044\u3046IP\u30a2\u30c9\u30ec\u30b9\u3067\u3001<br \/>Libserver\u3092\u76f4\u63a5\u793a\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3001\u5916\u3068\u540c\u3058URL\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3068\u3002<br \/>\u305d\u3046\u3044\u3046\u306e\u3092\u30eb\u30fc\u30bf\u30fc\u306b\u3055\u305b\u3089\u308c\u308c\u3070\u3044\u3044\u306e\u3060\u304c\u3067\u304d\u3093\u307f\u305f\u3044\u306a\u3093\u3067\u306d\u3002<br \/>\u306a\u304a\u3001Libserver\u306f\u81ea\u5206\u306e\u7ba1\u7406\u3057\u306a\u3044\u7bc4\u56f2\u306f\u5168\u90e8\u30eb\u30fc\u30bf\u30fc\u306b\u4e38\u6295\u3052\u3001<br \/>\u3055\u3089\u306b\u30eb\u30fc\u30bf\u30fc\u306f\u5168\u90e8CATV\u306b\u4e38\u6295\u3052\u3001\u3068\u307e\u3041\u2026<br \/>\u3067\u3001\u6b63\u5f15\u304d\u7528\u306bzone\u30d5\u30a1\u30a4\u30eb\u3001\u9006\u5f15\u304d\u3088\u3046\u306brev\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<br \/>zone\u30d5\u30a1\u30a4\u30eb\u306blibserver.ddo.jp\u306ens\u306f\u301c\u3067\u3068\u304b\u3044\u308d\u3044\u308d\u6c7a\u3081\u3066\u3042\u308b\u3002<br \/>rev\u30d5\u30a1\u30a4\u30eb\u306b192.168.0.xxx\u306f\u301c.libserver.ddo.jp\u3068\u304b\u6c7a\u3081\u3066\u3042\u308b\u3002<br \/>\u3053\u308c\u3092\u66f8\u3044\u3066\u3001named.conf\u3067\u8a2d\u5b9a\u3092\u66f8\u3044\u3066\u5b8c\u6210\u3002<br \/>\u3093\u306a\u308f\u3051\u3067\u3059\u3002\u307e\u3063\u305f\u304f\u4e2d\u8eab\u304c\u8aad\u3081\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3051\u3069\u3001<br \/>\u3051\u3063\u3053\u3046\u3081\u3093\u3069\u304f\u3055\u3044\u3067\u3059\u306d\u3002\u3044\u3084\u30fc\u5927\u5909\u3067\u3059\u3088\u3002<br \/>\u3061\u306a\u307f\u306b\u307b\u304b\u306b\u3082\u3044\u308d\u3044\u308d\u6c7a\u3081\u308b\u3053\u3068\u306f\u3042\u308b\u3051\u3069\u3001\u3081\u3093\u3069\u304f\u3055\u3044\u304b\u3089\u9069\u5f53\u306b\u30b3\u30d4\u30da\u30fb\u6539\u5909\u3067\u3002<br \/>\u3061\u306a\u307f\u306b\u5185\u5411\u304dDNS\u3068\u5916\u5411\u304dDNS\u3092\u4f5c\u308b\u306e\u306fBIND9\u3067\u306f\u7c21\u5358\u306b\u3067\u304d\u308b\u305d\u3046\u3067\u3059\u3002<br \/>\u306a\u306e\u3067\u3001\u305d\u306e\u3068\u304d\u306b\u306a\u3063\u3066\u304b\u3089\u8003\u3048\u305f\u307b\u3046\u304c\u3044\u3044\u6c17\u304c\u3057\u307e\u3059\u3002<br \/>\u6b63\u76f4\u5916\u5411\u304dDNS\u306f\u3059\u3050\u5b9f\u73fe\u3067\u304d\u306a\u304f\u3066\u3082\u6642\u9593\u7a3c\u304e\u3067\u304d\u307e\u3059\u3057\u3002<br \/>\u5927\u6982\u306e\u30c9\u30e1\u30a4\u30f3\u306e\u8ca9\u58f2\u4f1a\u793e\u3068\u3044\u3046\u304b\u30ec\u30b8\u30b9\u30c8\u30e9\u304b\u77e5\u3089\u3093\u3051\u3069\u3001DNS\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u304f\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\u500b\u4eba\u30e6\u30fc\u30b6\u30fc\u3092\u3064\u304b\u3080\u305f\u3081\u3067\u3059\u306d\u3002\u500b\u4eba\u30e6\u30fc\u30b6\u30fc\u304cDNS\u4f5c\u308b\u306e\u306f\u5927\u5909\u3067\u3059\u3057\u3002<br \/>\u306a\u3093\u3067\u3001\u3059\u3050\u306b\u4f5c\u308b\u5fc5\u8981\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\u305d\u3082\u305d\u3082\u3001\u73fe\u5728\u30c9\u30e1\u30a4\u30f3\u304c\u5931\u52b9\u3057\u3066\u3044\u3066\u3001\u305d\u306e\u524d\u304b\u3089DNS\u6b7b\u4ea1\u72b6\u614b\u3060\u3063\u305f\u3093\u3067\u3002<br \/>\u306f\u306f\u306f\u306f\u306f\u3001\u8ab0\u3060root\u2026\u3068\u601d\u3046\u3093\u3067\u3059\u3051\u3069\u3001root\u3055\u3093\u5fd9\u3057\u3044\u3089\u3057\u304f\u2026<br \/>\u3061\u3087\u3046\u3069\u3001Server\u306e\u4e2d\u8eab\u3092\u5165\u308c\u66ff\u3048\u308b\u3068\u304d\u306b\u91cd\u306a\u308b\u306e\u3067\u3001\u5fb9\u5e95\u7684\u306b\u6539\u5584\u3059\u308b\u304b\u3068\u3002<br \/>\u30cd\u30bf\u3067OpenPNE\u3067\u3082\u52d5\u304b\u3057\u307e\u3059\u304b\u306d\u3002SNS\u3067\u3059\u3088SNS\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u90e8\u6d3b\u306eServer\u5165\u308c\u66ff\u3048\u306b\u5099\u3048\u3066\u3001\u3061\u3087\u3063\u3068\u5b9f\u9a13\u3002\u307e\u305a\u3001Server\u7528\u30a2\u30d7\u30ea\u3067\u3059\u3051\u3069\u3001\u4eca\u307e\u3067\u306b\u4f7f\u3063\u3066\u3044\u308b\u3084\u3064\u30fbApache2(HTTP)\u00d7PHP5\u3000\u3000\u30fbPostfix(SMTP)\u3000\u3000\u3000\u30fbdovecot(IMAP)\u30fbPro [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-708","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=708"}],"version-history":[{"count":0,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/708\/revisions"}],"wp:attachment":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}