{"id":572,"date":"2017-11-15T22:32:45","date_gmt":"2017-11-15T13:32:45","guid":{"rendered":"http:\/\/sunao-mita.pgw.jp\/blog\/?p=572"},"modified":"2017-11-15T22:32:45","modified_gmt":"2017-11-15T13:32:45","slug":"raspi1b-server-setup4","status":"publish","type":"post","link":"http:\/\/sunao-mita.pgw.jp\/blog\/?p=572","title":{"rendered":"\u30e9\u30ba\u30d1\u30a41B \u3067\u5171\u6709\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9 (4\/)"},"content":{"rendered":"<ol>\n<li style=\"padding-left: 30px;\"><span style=\"color: #333399;\"><strong>bind9<\/strong> DNS\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a<br \/>\n<\/span><\/li>\n<li style=\"padding-left: 30px;\"><span style=\"color: #333399;\"><strong>postfix<\/strong> \u30e1\u30fc\u30eb\u914d\u9001\u306e\u8a2d\u5b9a<\/span><\/li>\n<\/ol>\n<p>\u3053\u3053\u304b\u3089\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u307e\u307e\u3067\u8a2d\u5b9a\u304c\u307e\u3060\u306e\u6a5f\u80fd\u3092\u9806\u6b21\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u307e\u305a\u306f <span style=\"color: #000080;\"><strong>DNS \u6a5f\u80fd<\/strong><\/span>\u306e\u8a2d\u5b9a\u304b\u3089\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u4e2d\u306e\u30e9\u30ba\u30d1\u30a4\u5185\u306b DNS \u6a5f\u80fd\u3092\u8a2d\u5b9a\u3057\u3001\u5bb6\u306e\u4e2d\u306b\u7f6e\u304b\u308c\u305f\u30ed\u30fc\u30ab\u30eb\u6a5f\u5668\u3092\u540d\u524d\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u8a66\u307f\u307e\u3059\u3002\u3053\u308c\u306b\u306f\u65e2\u306b\u7a3c\u50cd\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001\u8aa4\u308a\u304c\u306a\u3044\u304b\u78ba\u8a8d\u3057\u306a\u304c\u3089\u5fc5\u8981\u306a\u3089\u5185\u5bb9\u306e\u898b\u76f4\u3057\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre style=\"color: #006060; background: #ffffcc none repeat scroll 0% 0%;\"># <strong>ls -l \/etc\/bind<\/strong>\n\u5408\u8a08 64\n-rw-r--r-- 1 root bind  964 11\u6708 13 23:53 <strong><span style=\"color: #000080;\">2400:yyy:zz:df00::.rev<\/span><\/strong>\n-rw-r--r-- 1 root root 3923  8\u6708 28 16:36 bind.keys\n-rw-r--r-- 1 root root  237  8\u6708 28 16:36 db.0\n-rw-r--r-- 1 root bind  787 11\u6708 14 00:09 <strong><span style=\"color: #000080;\">db.xx.168.192<\/span><\/strong>\n-rw-r--r-- 1 root root  271  8\u6708 28 16:36 db.127\n-rw-r--r-- 1 root root  237  8\u6708 28 16:36 db.255\n-rw-r--r-- 1 root root  353  8\u6708 28 16:36 db.empty\n-rw-r--r-- 1 root root  270  8\u6708 28 16:36 db.local\n-rw-r--r-- 1 root root 3171  8\u6708 28 16:36 db.root\n-rw-r--r-- 1 root bind 2155 11\u6708 14 00:02 <strong><span style=\"color: #000080;\">db.sunao-mita.pgw.jp<\/span><\/strong>\n-rw-r--r-- 1 root bind  463  8\u6708 28 16:36 named.conf\n-rw-r--r-- 1 root bind  490  8\u6708 28 16:36 named.conf.default-zones\n-rw-r--r-- 1 root bind  481 11\u6708 13 23:29 <span style=\"color: #000080;\">named.conf.local<\/span>\n-rw-r--r-- 1 root bind 1074 11\u6708 13 23:41 <span style=\"color: #000080;\">named.conf.options<\/span>\n-rw-r----- 1 bind bind   77 11\u6708 13 21:55 rndc.key\n-rw-r--r-- 1 root root 1317  8\u6708 28 16:36 zones.rfc1918<\/pre>\n<p>\u30ed\u30fc\u30ab\u30eb\u6a5f\u5668\u3092\u8a2d\u5b9a\u3057\u305f IP\u30a2\u30c9\u30ec\u30b9\u306e\u5bfe\u5fdc\u30d5\u30a1\u30a4\u30eb\u00a0<span style=\"color: #000080;\">db.sunao-mita.pgw.jp<\/span> \u3068\u9006\u5f15\u304d\u7528\u306e\u30d5\u30a1\u30a4\u30eb\u00a0<span style=\"color: #000080;\">2400:yyy:zz:df00::.rev<\/span> \u3068\u00a0<span style=\"color: #000080;\">db.xx.168.192<\/span> \u5185\u5bb9\u306e\u6982\u7565\u3092\u6b21\u306b\u793a\u3057\u307e\u3059\u3002\u5185\u5bb9\u306f xyzn \u306e\u6587\u5b57\u3067\u9069\u5f53\u306b\u7f6e\u304d\u63db\u3048\u3066\u3044\u308b\u305f\u3081\u5b9f\u7269\u3068\u306f\u7570\u306a\u308a\u307e\u3059\u3002\u3053\u3093\u306a\u30a4\u30e1\u30fc\u30b8\u3068\u3057\u3066\u8f09\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre style=\"color: #006060; background: #ffffcc none repeat scroll 0% 0%;\"># <strong>cat \/etc\/bind\/db.sunao-mita.pgw.jp<\/strong>\n<span style=\"color: #808080;\">;;  sunao-mita.pgw.jp\n$TTL    86400\n@      IN      SOA    sunao-mita.pgw.jp.  root.sunao-mita.pgw.jp. (\n        2017111301      ;Serial\n        3600            ;Refresh\n        900             ;Retry\n        604800          ;Expire\n        86400           ;Minimum TTL\n)\n                IN      NS      dns.sunao-mita.pgw.jp.\n                IN      NS      dns2.sunao-mita.pgw.jp.\n                IN      NS      gate.sunao-mita.pgw.jp.\n                IN      MX      10 mail.sunao-mita.pgw.jp.\n                IN      A       192.168.xx.22\n                IN      AAAA    2400:yyy:zz:df00:225:31ff:fe00:nn\ndns2            IN      A       192.168.xx.21\ndns             IN      A       192.168.xx.22\nnet-disk        IN      A       192.168.xx.23\ngate            IN      A       192.168.xx.1\nDebianPogo      IN      A       192.168.xx.22\nDebianPogo      IN      AAAA    2400:yyy:zz:df00:225:31ff:fe00:nn\nmail            IN      A       192.168.xx.22\nmail            IN      AAAA    2400:yyy:zz:df00:225:31ff:fe00:nn\nPogoV6          IN      AAAA    2400:yyy:zz:df00:225:31ff:fe00:nn\ndns2            IN      AAAA    2400:yyy:zz:df00:ff57:63d2:5835:nn\ndns             IN      AAAA    2400:yyy:zz:df00:225:31ff:fe00:nn\nwww             IN      A       192.168.xx.22\nwww             IN      AAAA    2400:yyy:zz:df00:225:31ff:fe00:nn\nRadioV6         IN      AAAA    2400:yyy:zz:df00:ba27:ebff:feac:nn\nrpi1-com2       IN      A       192.168.xx.21\nrpi1-com2       IN      AAAA    2400:yyy:zz:df00:ff57:63d2:5835:nn\nls              IN      CNAME   net-disk\nshare           IN      CNAME   rpi1-com2\n<\/span>\n# <strong>cat \/etc\/bind\/2400:yyy:zz:df00::.rev<\/strong>\n<span style=\"color: #808080;\">$TTL 86400\n@            IN      SOA sunao-mita.pgw.jp. root.sunao-mita.pgw.jp. (\n                     2017111301 ; serial\n                     3600       ; refresh 1hr\n                     900        ; retry 15min\n                     604800     ; expire 1w\n                     86400      ; min 24hr\n)\n        IN      NS      dns.sunao-mita.pgw.jp.\n        IN      NS      dns2.sunao-mita.pgw.jp.\nn.n.d.9.0.0.e.f.f.f.1.3.5.2.2.0    IN   PTR   PogoV6.sunao-mita.pgw.jp.\nn.n.d.9.0.0.e.f.f.f.1.3.5.2.2.0    IN   PTR   dns.sunao-mita.pgw.jp.\nn.n.d.9.0.0.e.f.f.f.1.3.5.2.2.0    IN   PTR   sunao-mita.pgw.jp.\nn.n.b.d.e.e.e.f.f.f.b.e.7.2.a.b    IN   PTR   raspv6.sunao-mita.pgw.jp.\nn.n.8.2.5.3.8.5.2.d.3.6.7.5.f.f    IN   PTR   dns2.sunao-mita.pgw.jp.\nn.n.8.2.c.a.e.f.f.f.b.e.7.2.a.b    IN   PTR   RadioV6.sunao-mita.pgw.jp.\nn.n.3.2.6.a.d.3.8.f.f.0.0.6.6.b    IN   PTR   Rpi3-com1.sunao-mita.pgw.jp.\nn.n.8.2.5.3.8.5.2.d.3.6.7.5.f.f    IN   PTR   rpi1-com2.sunao-mita.pgw.jp.\n<\/span>\n# <strong>cat \/etc\/bind\/db.xx.168.192<\/strong>\n<span style=\"color: #808080;\">$TTL 86400\nxx.168.192.in-addr.arpa. IN SOA sunao-mita.pgw.jp. root.sunao-mita.pgw.jp. (\n        2017111301       ;Serial\n        7200    ;Refresh\n        3600    ;Retry\n        604800  ;Expire\n        86400   ;Minimum TTL\n)\n        IN      NS      dns.sunao-mita.pgw.jp.\n        IN      NS      dns2.sunao-mita.pgw.jp.\nn0      IN      PTR     landisk.sunao-mita.pgw.jp.\n2n      IN      PTR     net-disk.sunao-mita.pgw.jp.\n1       IN      PTR     gate.sunao-mita.pgw.jp.\nn1      IN      PTR     rpi1-com2.sunao-mita.pgw.jp.\nnn      IN      PTR     radio.sunao-mita.pgw.jp.\n2n      IN      PTR     DebianPogo.sunao-mita.pgw.jp.\n2n      IN      PTR     sunao-mita.pgw.jp.\nn4      IN      PTR     Rpi3-com1.sunao-mita.pgw.jp.<\/span><\/pre>\n<p>\u305d\u308c\u3089\u306e\u8a2d\u5b9a\u3092\u6709\u52b9\u306b\u3059\u308b\u305f\u3081\u3001<span style=\"color: #000080;\">named.conf.local<\/span> \u306b\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre style=\"color: #006060; background: #ffffcc none repeat scroll 0% 0%;\"># <strong>vi \/etc\/bind\/named.conf.local<\/strong>\n<span style=\"color: #808080;\">\/\/\n\/\/ Do any local configuration here\n\/\/<\/span>\n<span style=\"color: #0000ff;\">zone \"sunao-mita.pgw.jp\" {\ntype master;\nfile \"\/etc\/bind\/<strong>db.sunao-mita.pgw.jp<\/strong>\";\n};\nzone \"xx.168.192.in-addr.arpa\" {\ntype master;\nfile \"\/etc\/<strong>bind\/db.xx.168.192<\/strong>\";\n};\nzone \"0.0.f.d.z.z.z.z.y.y.y.y.0.0.4.2.ip6.arpa.\" {\ntype master;\nfile \"\/etc\/bind\/<strong>2400:yyyy:zzzz:df00::.rev<\/strong>\";\n};\n<\/span>\n<span style=\"color: #808080;\">\/\/ Consider adding the 1918 zones here, if they are not used in your\n\/\/ organization\n<\/span><span style=\"color: #0000ff;\">include \"\/etc\/bind\/zones.rfc1918\";<\/span><\/pre>\n<p>\u8d77\u52d5\u3057\u3066\u7121\u4e8b\u306b\u7acb\u4e0a\u304c\u308c\u3070\u3001\u30a2\u30c9\u30ec\u30b9\u3092\u5f15\u3044\u3066\u671f\u5f85\u3057\u305f\u7d50\u679c\u304c\u8fd4\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre style=\"color: #006060; background: #ffffcc none repeat scroll 0% 0%;\"># <strong>service bind9 start<\/strong><\/pre>\n<p>\u78ba\u8a8d\u306b\u306f\u3001<strong>dig\u30b3\u30de\u30f3\u30c9<\/strong>\u3067\u3001\u81ea\u5206\u81ea\u8eab\u306e\u30b5\u30fc\u30d0\u30fc @localhost \u3092\u6307\u5b9a\u3057\u3066\u3001\u5916\u90e8\u306e\u30b5\u30fc\u30d0\u30fc www.nifty.com \u3084\u5185\u90e8\u306e sunao-mita.pgw.jp \u3092\u5f15\u3044\u3066\u307f\u305f\u308a\u3001\u9006\u5f15\u304d\u306e ipv4 \/ ipv6 \u306e IP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u5f15\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre style=\"color: #006060; background: #ffffcc none repeat scroll 0% 0%;\"># <strong>dig @localhost www.nifty.com<\/strong>\u3000\u3000<span style=\"color: #ff00ff;\">...\u5916\u90e8\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u5f15\u3044\u3066\u307f\u308b<\/span>\n<span style=\"color: #666699;\">; &lt;&lt;&gt;&gt; DiG 9.10.3-P4-Raspbian &lt;&lt;&gt;&gt; @localhost www.nifty.com\n; (2 servers found)\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 48086\n;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 4096\n;; QUESTION SECTION:\n;www.nifty.com.                 IN      A\n;; ANSWER SECTION:\n<strong>www.nifty.com.          300     IN      A       121.94.174.14<\/strong>\n;; AUTHORITY SECTION:\nwww.nifty.com.          299     IN      NS      cdns0.nifty.ad.jp.\nwww.nifty.com.          299     IN      NS      cdns1.nifty.ad.jp.\n;; Query time: 1574 msec\n;; SERVER: ::1#53(::1)\n;; WHEN: Tue Nov 14 10:27:56 JST 2017\n;; MSG SIZE  rcvd: 109\n<\/span>\n# <strong>dig @localhost sunao-mita.pgw.jp<\/strong>    <span style=\"color: #ff00ff;\">...\u5185\u90e8\u306e\u30ed\u30fc\u30ab\u30eb\u30b5\u30fc\u30d0\u30fc<\/span>\n<span style=\"color: #666699;\">; &lt;&lt;&gt;&gt; DiG 9.10.3-P4-Raspbian &lt;&lt;&gt;&gt; @localhost sunao-mita.pgw.jp\n; (2 servers found)\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 48474\n;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 6\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 4096\n;; QUESTION SECTION:\n;sunao-mita.pgw.jp.             IN      A\n;; ANSWER SECTION:\n<strong>sunao-mita.pgw.jp.      86400   IN      A       192.168.xx.22<\/strong>\n;; AUTHORITY SECTION:\nsunao-mita.pgw.jp.      86400   IN      NS      dns.sunao-mita.pgw.jp.\nsunao-mita.pgw.jp.      86400   IN      NS      gate.sunao-mita.pgw.jp.\nsunao-mita.pgw.jp.      86400   IN      NS      dns2.sunao-mita.pgw.jp.\n;; ADDITIONAL SECTION:\ndns.sunao-mita.pgw.jp.  86400   IN      A       192.168.xx.22\ndns.sunao-mita.pgw.jp.  86400   IN      AAAA    2400:yyy:zz:df00:225:31ff:fe00:nn\ndns2.sunao-mita.pgw.jp. 86400   IN      A       192.168.xx.21\ndns2.sunao-mita.pgw.jp. 86400   IN      AAAA    2400:yyy:5140:df00:ff57:63d2:5835:2889\ngate.sunao-mita.pgw.jp. 86400   IN      A       192.168.xx.1\n;; Query time: 2 msec\n;; SERVER: ::1#53(::1)\n;; WHEN: Tue Nov 14 10:28:22 JST 2017\n;; MSG SIZE  rcvd: 222\n<\/span># <strong>dig @localhost -x 192.168.xx.21<\/strong>    <span style=\"color: #ff00ff;\">...\u5185\u90e8\u30b5\u30fc\u30d0\u30fc\u306e\u9006\u5f15\u304d<\/span>\n<span style=\"color: #666699;\">; &lt;&lt;&gt;&gt; DiG 9.10.3-P4-Raspbian &lt;&lt;&gt;&gt; @localhost -x 192.168.11.21\n; (2 servers found)\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 35385\n;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 5\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 4096\n;; QUESTION SECTION:\n;21.xx.168.192.in-addr.arpa.    IN      PTR\n;; ANSWER SECTION:\n<strong>21.xx.168.192.in-addr.arpa. 86400 IN    PTR     rpi1-com2.sunao-mita.pgw.jp.<\/strong>\n;; AUTHORITY SECTION:\nxx.168.192.in-addr.arpa. 86400  IN      NS      dns.sunao-mita.pgw.jp.\nxx.168.192.in-addr.arpa. 86400  IN      NS      dns2.sunao-mita.pgw.jp.\n;; ADDITIONAL SECTION:\ndns.sunao-mita.pgw.jp.  86400   IN      A       192.168.xx.22\ndns.sunao-mita.pgw.jp.  86400   IN      AAAA    2400:yyy:zz:df00:225:31ff:fe00:nn\ndns2.sunao-mita.pgw.jp. 86400   IN      A       192.168.xx.21\ndns2.sunao-mita.pgw.jp. 86400   IN      AAAA    2400:yyy:zz:df00:ff57:63d2:5835:nn\n;; Query time: 2 msec\n;; SERVER: ::1#53(::1)\n;; WHEN: Tue Nov 14 10:29:13 JST 2017\n;; MSG SIZE  rcvd: 221\n<\/span>\n# <strong>dig @localhost -x 2400:yyy:zz:df00:ff57:63d2:5835:nn<\/strong> <span style=\"color: #ff00ff;\">...ipv6\u9006\u5f15\u304d<\/span>\n<span style=\"color: #666699;\">; &lt;&lt;&gt;&gt; DiG 9.10.3-P4-Raspbian &lt;&lt;&gt;&gt; @localhost -x 2400:yyy:zz:df00:ff57:63d2:5835:nn\n; (2 servers found)\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 57012\n;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 5\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 4096\n;; QUESTION SECTION:\n;n.n.8.2.5.3.8.5.2.d.3.6.7.5.f.f.0.0.f.d.z.z.1.5.y.y.y.2.0.0.4.2.ip6.arpa. IN PTR\n;; ANSWER SECTION:\n<strong>n.n.8.2.5.3.8.5.2.d.3.6.7.5.f.f.0.0.f.d.z.z.1.5.y.y.y.2.0.0.4.2.ip6.arpa. 86400 IN PTR rpi1-com2.sunao-mita.pgw.jp.\nn.n.8.2.5.3.8.5.2.d.3.6.7.5.f.f.0.0.f.d.z.z.1.5.y.y.y.2.0.0.4.2.ip6.arpa. 86400 IN PTR dns2.sunao-mita.pgw.jp.\n<\/strong>\n;; AUTHORITY SECTION:\nn.n.f.d.z.z.1.5.y.y.y.2.0.0.4.2.ip6.arpa. 86400 IN NS dns.sunao-mita.pgw.jp.\nn.n.f.d.z.z.1.5.y.y.y.2.0.0.4.2.ip6.arpa. 86400 IN NS dns2.sunao-mita.pgw.jp.\n;; ADDITIONAL SECTION:\ndns.sunao-mita.pgw.jp.  86400   IN      A       192.168.xx.22\ndns.sunao-mita.pgw.jp.  86400   IN      AAAA    2400:yyy:zz:df00:225:31ff:fe00:nn\ndns2.sunao-mita.pgw.jp. 86400   IN      A       192.168.xx.21\ndns2.sunao-mita.pgw.jp. 86400   IN      AAAA    2400:yyy:zz:df00:ff57:63d2:5835:nn\n;; Query time: 2 msec\n;; SERVER: ::1#53(::1)\n;; WHEN: Tue Nov 14 10:29:53 JST 2017\n;; MSG SIZE  rcvd: 281<\/span>\n# <strong>dig @localhost rpi1-com2.sunao-mita.pgw.jp<\/strong>  <span style=\"color: #ff00ff;\">...\u30ed\u30fc\u30ab\u30eb\u30b5\u30fc\u30d0\u30fc<\/span>\n<span style=\"color: #666699;\">; &lt;&lt;&gt;&gt; DiG 9.10.3-P4-Raspbian &lt;&lt;&gt;&gt; @localhost rpi1-com2.sunao-mita.pgw.jp\n; (2 servers found)\n;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 16729\n;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 6\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 4096\n;; QUESTION SECTION:\n;rpi1-com2.sunao-mita.pgw.jp.   IN      A\n;; ANSWER SECTION:\n<strong>rpi1-com2.sunao-mita.pgw.jp. 86400 IN   A       192.168.xx.21<\/strong>\n;; AUTHORITY SECTION:\nsunao-mita.pgw.jp.      86400   IN      NS      dns.sunao-mita.pgw.jp.\nsunao-mita.pgw.jp.      86400   IN      NS      gate.sunao-mita.pgw.jp.\nsunao-mita.pgw.jp.      86400   IN      NS      dns2.sunao-mita.pgw.jp.\n;; ADDITIONAL SECTION:\ndns.sunao-mita.pgw.jp.  86400   IN      A       192.168.xx.22\ndns.sunao-mita.pgw.jp.  86400   IN      AAAA    2400:yyy:zz:df00:225:31ff:fe00:nn\ndns2.sunao-mita.pgw.jp. 86400   IN      A       192.168.xx.21\ndns2.sunao-mita.pgw.jp. 86400   IN      AAAA    2400:yyy:zz:df00:ff57:63d2:5835:nn\ngate.sunao-mita.pgw.jp. 86400   IN      A       192.168.xx.1\n;; Query time: 2 msec\n;; SERVER: ::1#53(::1)\n;; WHEN: Tue Nov 14 10:50:53 JST 2017\n;; MSG SIZE  rcvd: 232\n<\/span><\/pre>\n<p>\u8a2d\u5b9a\u306e\u8a18\u8ff0\u65b9\u6cd5\u306b\u95a2\u3057\u3066\u306f\u5168\u304f\u81ea\u4fe1\u304c\u306a\u3044\u306e\u3067\u3001\u307e\u3050\u308c\u3068\u3044\u3046\u304b\u5f15\u3051\u3066\u30e9\u30c3\u30ad\u30fc\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u3059\u3002\u691c\u7d22\u5b9f\u884c\u306e\u30b5\u30fc\u30d0\u30fc\u6307\u5b9a\u306b @localhost \u3067\u3059\u304c\u3001 <span style=\"color: #0000ff;\">;; SERVER: ::1#53(::1)<\/span>\u00a0 \u3068\u306a\u3063\u3066\u3044\u3066 ipv6\u30a2\u30c9\u30ec\u30b9\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u306d\u3002\u4e00\u5fdc\u5f15\u3051\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u6b21\u306e\u8a2d\u5b9a\u306b\u79fb\u308a\u307e\u3059\u3002<\/p>\n<hr \/>\n<hr \/>\n<p>\u6b21\u306f\u8272\u3005\u306a\u30ec\u30dd\u30fc\u30c8\u3092\u30e1\u30fc\u30eb\u7d4c\u7531\u3067\u4e0a\u3052\u3066\u304f\u308c\u308b <span style=\"color: #333399;\"><strong>postfix<\/strong><\/span> \u5fc5\u9808\u306e\u30e1\u30fc\u30eb\u8ee2\u9001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u6a5f\u80fd\u3067\u3059\u3002\u3053\u308c\u3082\u65e2\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u8a2d\u5b9a\u3092\u30b3\u30d4\u30fc\u3057\u3066\u5229\u7528\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u3068\u308a\u3042\u3048\u305a nifty \u306b\u30e1\u30fc\u30eb\u8ee2\u9001\u3055\u305b\u308b\u305f\u3081\u306e\u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb\u3068 main.cf \u3092\u30b3\u30d4\u30fc\u3057\u3066\u5185\u5bb9\u306e\u898b\u76f4\u3057\u304c\u5fc5\u8981\u3067\u3059\u3002\u305d\u308c\u3068\u3001\u52d5\u4f5c\u691c\u8a3c\u306b\u306f mail\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3059\u308b\u306e\u3067 mailutils \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082\u5fc5\u8981\u3067\u3059\u3002<br \/>\n\u307b\u3068\u3093\u3069\u5185\u5bb9\u3092\u30b3\u30d4\u30fc\u3057\u3066\u8a2d\u5b9a\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u30c6\u30b9\u30c8\u3059\u308b\u3068\u7406\u7531\u304c\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u30ea\u30ec\u30fc\u5148\u306e nifty.com \u306b\u9001\u3063\u305f\u3064\u3082\u308a\u306e\u30c6\u30b9\u30c8\u30e1\u30fc\u30eb\u304c\u6dfb\u4ed8\u3055\u308c\u3066\u3044\u308b\u30a8\u30e9\u30fc\u30e1\u30fc\u30eb\u304c\u79c1\u306e @nifty\u3078\u8ee2\u9001\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<pre style=\"color: #400060; background: #ffeeee none repeat scroll 0% 0%;\">From: <strong>MAILER-DAEMON@rpi1-com2.sunao-mita.pgw.jp<\/strong> (Mail Delivery System)\nTo: <strong>root@rpi1-com2<\/strong>\nSubject: Undelivered Mail Returned to Sender\nDate: Tue, 14 Nov 2017 16:17:17 +0900 (JST)\nThis is the mail system at host <strong>rpi1-com2.sunao-mita.pgw.jp<\/strong>.\nI'm sorry to have to inform you that your message could not\nbe delivered to one or more recipients. It's attached below.\nFor further assistance, please send mail to postmaster.\nIf you do so, please include this problem report. You can\ndelete your own text from the attached returned message.\nThe mail system\n&lt;sunao.mita@nifty.com&gt; (expanded from &lt;<strong>sunao@rpi1-com2<\/strong>&gt;): host\nsmtp.nifty.com[210.131.2.36] said: 553 5.3.0 &lt;<strong>root@rpi1-com2<\/strong>&gt;...\nInsufficient Address:<strong>rpi1-com2<\/strong> (in reply to MAIL FROM command)<\/pre>\n<p>\u539f\u56e0\u304c\u308f\u304b\u308a\u307e\u305b\u3093\u3002\u3057\u3070\u3089\u304f\u305d\u306e\u307e\u307e\u653e\u7f6e\u3057\u3066\u304a\u304f\u3053\u3068\u306b\u3057\u307e\u3059\u3002<br \/>\n\u30ed\u30b0\u306e\u30ec\u30dd\u30fc\u30c8\u3092\u6bce\u65e5\u9001\u4ed8\u3059\u308b logwatch \u3092\u3068\u308a\u3042\u3048\u305a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n<strong>logwatch \u306e\u30ec\u30dd\u30fc\u30c8\u306f<\/strong>\u3001\uff11\u65e5\uff11\u56de\u6c7a\u307e\u3063\u305f\u6642\u9593\u306b\u4f5c\u6210\u3055\u308c\u3066\u30e1\u30fc\u30eb\u3057\u3066\u304d\u307e\u3059\u3002\u3053\u3061\u3089\u306f\u3001\u624b\u52d5\u306e\u30e1\u30fc\u30eb\u6a5f\u80fd\u306e mail\u30b3\u30de\u30f3\u30c9\u306e\u3088\u3046\u306b\u30a8\u30e9\u30fc\u306f\u306a\u304f\u3001\u904e\u53bb\u306e\u52d5\u4f5c\u3068\u540c\u3058\u3088\u3046\u306b<strong>\u6b63\u5e38\u306b\u9001\u3089\u308c\u3066\u3044\u308b<\/strong>\u3088\u3046\u3067\u3059\u3002<\/p>\n<pre style=\"color: #006060; background: #ffffcc none repeat scroll 0% 0%;\">From: <strong>root@rpi1-com2.sunao-mita.pgw.jp<\/strong>\nTo: <strong>root@rpi1-com2.sunao-mita.pgw.jp<\/strong>\nSubject: Logwatch for rpi1-com2 (Linux)\nDate: Sat, 18 Nov 2017 06:26:11 +0900 (JST)\n################### Logwatch 7.4.3 (12\/07\/16) ####################\nProcessing Initiated: Sat Nov 18 06:26:10 2017\nDate Range Processed: yesterday\n( 2017-Nov-17 )\nPeriod is day.\nDetail Level of Output: 0\nType of Output\/Format: mail \/ text\nLogfiles for Host: rpi1-com2\n##################################################################<\/pre>\n<p>\u554f\u984c\u304c postfix \u5074\u306e\u8a2d\u5b9a\u306a\u306e\u304b\u3001 mialutils.mail \u306e\u8a2d\u5b9a\u306a\u306e\u304b\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u8cc7\u6599\u3084\u30de\u30cb\u30e5\u30a2\u30eb\u304c\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u8fd1\u4ed8\u3051\u3070\u8fd1\u4ed8\u304f\u307b\u3069\u82f1\u8a9e\u306e\u3082\u306e\u3057\u304b\u7121\u304f\u3001\u79c1\u306e\u8a9e\u5b66\u529b\u3067\u306f\u592a\u5200\u6253\u3061\u3067\u304d\u307e\u305b\u3093\u3002 logwatch \u306e\u30ec\u30dd\u30fc\u30c8\u306f\u9001\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u5927\u52e2\u306b\u5f71\u97ff\u306f\u306a\u3044\u306e\u3067\u3001<span style=\"color: #333399;\">\u3057\u3070\u3089\u304f\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u898b\u5b88\u308b<\/span>\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u8ffd\u52a0\u3067\u4eca\u3059\u3050\u78ba\u8a8d\u3067\u304d\u308b\u306e\u306f\u3001 cron \u3067\u81ea\u52d5\u5b9f\u884c\u3057\u305f\u5834\u5408\u306b\u7d50\u679c\u304c\u8ee2\u9001\u3055\u308c\u308b\u306e\u304b\u3001\u3055\u308c\u306a\u3044\u306e\u304b\u3060\u308d\u3046\u3068\u601d\u3044\u307e\u3059\u3002\u5358\u7d14\u306a\u30b3\u30de\u30f3\u30c9\u3092 sunao\u30e6\u30fc\u30b6\u30fc\u3067 crontab -e \u30b3\u30de\u30f3\u30c9\u3067\u6642\u9593\u3092\u6307\u5b9a\u3057\u3066\u8ffd\u52a0\u3057\u3066\u5b9f\u884c\u3055\u305b\u3066\u307f\u307e\u3059\u3002\u5b9f\u884c\u3055\u305b\u308b\u30b3\u30de\u30f3\u30c9\u306f\u3001(pwd; ls -al;) \u3068\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u6b21\u304c\u53d7\u3051\u53d6\u3063\u305f\u30e1\u30fc\u30eb\u3067\u3059\u3002\u4f55\u306e\u554f\u984c\u3082\u306a\u304f\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u306e\u7d50\u679c\u3092\u30e1\u30fc\u30eb\u3067\u53d7\u3051\u53d6\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3057\u305f\u3002 <strong>cron \u306e\u30ec\u30dd\u30fc\u30c8\u3067\u3082\u554f\u984c\u306a\u3055\u305d\u3046<\/strong>\u3067\u3059<strong>\u3002<\/strong><\/p>\n<pre style=\"color: #006060; background: #ffffcc none repeat scroll 0% 0%;\">From: <strong>root@rpi1-com2.sunao-mita.pgw.jp<\/strong> (Cron Daemon)\nTo: <strong>sunao@rpi1-com2.sunao-mita.pgw.jp<\/strong>\nSubject: Cron &lt;<strong>sunao@rpi1-com2<\/strong>&gt; (<strong>pwd;ls -al;<\/strong>)\nDate: Sun, 19 Nov 2017 11:40:01 +0900 (JST)\n\/home\/sunao\n\u5408\u8a08 40\ndrwxr-xr-x 3 sunao sunao 4096 11\u6708 19 11:34 .\ndrwxr-xr-x 5 root root 4096 11\u6708 11 10:47 ..\n-rw------- 1 sunao sunao 1324 11\u6708 15 23:10 .bash_history\n-rw-r--r-- 1 sunao sunao 220 9\u6708 7 23:59 .bash_logout\n-rw-r--r-- 1 sunao sunao 3523 9\u6708 7 23:59 .bashrc\n-rw-r--r-- 1 sunao sunao 675 9\u6708 7 23:59 .profile\n-rw-r--r-- 1 sunao sunao 75 11\u6708 19 11:32 .selected_editor\ndrwx------ 2 sunao sunao 4096 11\u6708 10 21:40 .ssh\n-rw------- 1 sunao sunao 2429 11\u6708 19 11:34 .viminfo\n-rw-r--r-- 1 sunao sunao 14 11\u6708 12 21:49 .vimrc<\/pre>\n<p>mail \u30b3\u30de\u30f3\u30c9\u306e\u6642\u306b\u306f\u3001\u5358\u306b\u30b5\u30fc\u30d0\u30fc\u540d\u304c\u7701\u7565\u3067\u77ed\u7e2e\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u306a\u6c17\u3082\u3057\u307e\u3059\u304c\u3001\u5bfe\u7b56\u65b9\u6cd5\u304c\u308f\u304b\u308a\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>bind9 DNS\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a postfix \u30e1\u30fc\u30eb\u914d\u9001\u306e\u8a2d\u5b9a \u3053\u3053\u304b\u3089\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u307e\u307e\u3067\u8a2d\u5b9a\u304c\u307e\u3060\u306e\u6a5f\u80fd\u3092\u9806\u6b21\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3059\u3002 \u307e\u305a\u306f DNS \u6a5f\u80fd\u306e\u8a2d\u5b9a\u304b\u3089\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u4e2d\u306e\u30e9\u30ba\u30d1\u30a4\u5185\u306b DNS \u6a5f\u80fd\u3092 &hellip; <a href=\"http:\/\/sunao-mita.pgw.jp\/blog\/?p=572\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u30e9\u30ba\u30d1\u30a41B \u3067\u5171\u6709\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9 (4\/)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,9,13],"tags":[],"_links":{"self":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/572"}],"collection":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=572"}],"version-history":[{"count":0,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/572\/revisions"}],"wp:attachment":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=572"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}