{"id":107,"date":"2010-05-07T12:47:17","date_gmt":"2010-05-07T03:47:17","guid":{"rendered":"http:\/\/www.zontheworld.com\/blog\/?p=107"},"modified":"2010-05-12T08:38:00","modified_gmt":"2010-05-11T23:38:00","slug":"value-domain-%e3%81%ae-%e3%83%80%e3%82%a4%e3%83%8a%e3%83%9f%e3%83%83%e3%82%afdns-%e6%9b%b4%e6%96%b0%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88","status":"publish","type":"post","link":"https:\/\/www.zontheworld.com\/blog\/archives\/107","title":{"rendered":"VALUE DOMAIN \u306e \u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS \u66f4\u65b0\u30b9\u30af\u30ea\u30d7\u30c8"},"content":{"rendered":"<p><a href=\"http:\/\/www.value-domain.com\/?ref=zon\" class=\"note\">VALUE DOMAIN<\/a> \u3067\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u66f4\u65b0\u30b9\u30af\u30ea\u30d7\u30c8\u3002<\/p>\n<p><a href=\"http:\/\/www.hi-ho.ne.jp\/yoshihiro_e\/dice\/\" class=\"note\">DiCE DynamicDNS Client (\u81ea\u5b85\u3067\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30b5\u30fc\u30d0\u30fc)<\/a> \u306a\u3069\u306eDNS\u66f4\u65b0\u30c4\u30fc\u30eb\u3092\u4f7f\u3048\u3070\u3044\u3044\u8a71\u3060\u3051\u3069\u3001Linux \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3084\u4f7f\u3044\u65b9\u3092\u899a\u3048\u308b\u3088\u308a\u3082\u3001\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8 \uff0b Cron \u3067\u81ea\u4f5c\u3057\u305f\u307b\u3046\u304c\u65e9\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u81ea\u4f5c\u3057\u305f\u3002<\/p>\n<p>\u4ee5\u524d\u3001Xrea SSH\u30db\u30b9\u30c8\u767b\u9332\u306b \u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8 \uff0b Cron \u3067\u81ea\u4f5c\u3057\u305f\u306e\u3067\u305d\u306e\u3068\u304d\u53c2\u8003\u306b\u3057\u305f\u3082\u306e\u3092\u5143\u306b\u6539\u9020\u3059\u308b\u3053\u3068\u306b\u3059\u308b\u3002<\/p>\n<p>SSH\u30db\u30b9\u30c8\u767b\u9332\u7528\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u4e0b\u8a18\u3092\u53c2\u8003\u306b\u3057\u305f\u3002<br \/>\n<a href=\"http:\/\/mo.kerosoft.com\/0119\" class=\"note\">xrea(coreserver) SSH\u30db\u30b9\u30c8\u767b\u9332\u30b9\u30af\u30ea\u30d7\u30c8 &#8211; Kerosoft : Modus Operandi<\/a><\/p>\n<p><!--more--><\/p>\n<h3>\u4e8b\u524d\u6e96\u5099<\/h3>\n<p>\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS\u6a5f\u80fd\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3002\u4e0b\u8a18\u3092\u53c2\u7167<br \/>\n<a href=\"http:\/\/www.value-domain.com\/howto\/?action=ddns&amp;ref=zon\" class=\"note\">\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS\u6a5f\u80fd\u306e\u3054\u5229\u7528\u65b9\u6cd5<\/a><br \/>\n\u203b\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u30c9\u30e1\u30a4\u30f3\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u7ba1\u7406\u753b\u9762\u306e\u30c9\u30e1\u30a4\u30f3\u30ed\u30c3\u30af\u306e\u5909\u66f4\u304b\u3089\u30c9\u30e1\u30a4\u30f3\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u4f7f\u7528\u3059\u308b API \u306e\u610f\u5473\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304f\u3002\u4e0b\u8a18\u306e\u30da\u30fc\u30b8\u306b\u4f7f\u7528\u3059\u308b\u3082\u306e\u306f\u5168\u3066\u304b\u304b\u308c\u3066\u3042\u308b\u3002<br \/>\n<a href=\"http:\/\/www.value-domain.com\/ddns.php?action=howto&amp;ref=zon\" class=\"note\">\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS\u8a2d\u5b9a\u65b9\u6cd5\u3068\u6ce8\u610f\u4e8b\u9805<\/a><\/p>\n<h3>\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS \u66f4\u65b0\u30b9\u30af\u30ea\u30d7\u30c8<\/h3>\n<p>\u51e6\u7406\u306e\u624b\u9806\u3068\u3057\u3066\u306f\u3001VALUE DOMAIN \u3067\u7528\u610f\u3055\u308c\u3066\u3044\u308b IP\u30a2\u30c9\u30ec\u30b9\u691c\u51faCGI \u3092\u5229\u7528\u3057\u3066\u3001\u81ea\u5206\u306e IP \u30a2\u30c9\u30ec\u30b9\u3092\u78ba\u8a8d\u3057\u3001\u524d\u56de\u78ba\u8a8d\u3057\u305f\u6642\u306e IP \u30a2\u30c9\u30ec\u30b9\u3068\u5909\u308f\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001VALUE DOMAIN \u304c\u7528\u610f\u3057\u3066\u3044\u308b\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS \u3092\u66f4\u65b0\u3059\u308b\u30a2\u30af\u30bb\u30b9\u5148\u3078\u901a\u77e5\u3059\u308b\u3002<\/p>\n<p>\u3064\u3044\u3067\u306b\u3001\u76f4\u8fd1\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u30c1\u30a7\u30c3\u30af\u3057\u305f\u6642\u523b\u3068\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS \u306e\u66f4\u65b0\u901a\u77e5\u3092\u884c\u3063\u305f\u5834\u5408\u306e\u30ed\u30b0\u3092\u6b8b\u3059\u3002<\/p>\n<p>\u8ab2\u984c\u3068\u3057\u3066\u306f\u3001VALUE DOMAIN \u3067\u7528\u610f\u3055\u308c\u3066\u3044\u308b IP\u30a2\u30c9\u30ec\u30b9\u691c\u51faCGI \u3092\u5229\u7528\u3057\u306a\u3044\u3067\u3001\u30b0\u30ed\u30fc\u30d0\u30ebIP\u30a2\u30c9\u30ec\u30b9\u3092\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3002\uff08\u203b\u30eb\u30fc\u30bf\u304b\u3089\u53d6\u5f97\u3059\u308b\uff1f\uff09<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# IP \u30c1\u30a7\u30c3\u30af\u51e6\u7406\r\nCHKLOGFILE=&quot;ip_chk.log&quot;\r\nMYIPFILE=&quot;global_ip.log&quot;\r\n\r\ndate &gt; $CHKLOGFILE\r\n\r\nMYIP=`wget -q -O - http:\/\/dyn.value-domain.com\/cgi-bin\/dyn.fcg?ip`\r\nOLDMYIP=`cut -f 1 $MYIPFILE`\r\n\r\nif test $MYIP = $OLDMYIP ; then\r\n\techo &quot;Not Change IP&quot; &gt;&gt; $CHKLOGFILE\r\n\texit\r\nfi\r\n\r\necho &quot;Change IP&quot; &gt;&gt; $CHKLOGFILE\r\n\r\n# DDNS \u767b\u9332\u51e6\u7406\r\nREGLOGFILE=&quot;ddns_reg.log&quot;\r\necho &quot;****************************************&quot; &gt;&gt; $REGLOGFILE\r\necho &quot;DDNS Registration&quot; &gt;&gt; $REGLOGFILE\r\ndate &gt;&gt; $REGLOGFILE\r\necho &quot;$OLDMYIP \u2192 $MYIP&quot; &gt;&gt; $REGLOGFILE\r\n\r\nMYDOMAIN=&quot;\u30c9\u30e1\u30a4\u30f3\u540d&quot;\r\nMYPW=&quot;\u30d1\u30b9\u30ef\u30fc\u30c9&quot;\r\nMYHOST=&quot;\u30db\u30b9\u30c8\u540d&quot;\r\nDYNURL=&quot;http:\/\/dyn.value-domain.com\/cgi-bin\/dyn.fcg?d=$MYDOMAIN&amp;p=$MYPW&amp;h=$MYHOST&amp;i=$MYIP&quot;\r\n\r\nRET=`wget -q -O - $DYNURL`\r\necho &quot;$RET&quot; &gt;&gt; $REGLOGFILE\r\n\r\nif [ `echo &quot;$RET&quot; | egrep &quot;status=0&quot;` ] ; then\r\n\techo $MYIP &gt; $MYIPFILE\r\n\techo &quot;Registration Successful.&quot;\r\nelse\r\n\techo &quot;Registation Failed.&quot;\r\nfi\r\n\r\nexit\r\n<\/pre>\n<p>\u203b\u30c9\u30e1\u30a4\u30f3\u540d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3001\u30db\u30b9\u30c8\u540d\u306f\u5404\u81ea\u3067\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3002<\/p>\n<h3>Cron \u306e\u8a2d\u5b9a<\/h3>\n<p>\/etc\/crontab \u3092\u7de8\u96c6\u3057\u3066\u3001\u5b9a\u671f\u7684\u306b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<p>Cron \u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u5206\u304b\u308a\u6613\u3044\u89e3\u8aac\u304c\u8272\u3005\u3042\u308b\u306e\u3067\u305d\u3061\u3089\u306b\u3092\u53c2\u7167\u3002<br \/>\n<a href=\"http:\/\/www.express.nec.co.jp\/linux\/distributions\/knowledge\/system\/crond.html\" class=\"note\">cron \u306e\u8a2d\u5b9a\u30ac\u30a4\u30c9<\/a><\/p>\n<h3>\u53c2\u8003<\/h3>\n<p>\u305d\u306e\u4ed6\u3001\u53c2\u7167\u3057\u305f\u3082\u306e\u3002<\/p>\n<p><a href=\"http:\/\/ko1go.blog80.fc2.com\/blog-entry-707.html\" class=\"note\">\u4e03\u8ee2\u3073\u516b\u8d77\u304d\u3000 \u30b0\u30ed\u30fc\u30d0\u30ebIP\u30a2\u30c9\u30ec\u30b9\u3092\u81ea\u52d5\u3067\u901a\u77e5\u3057\u305f\u3044\uff082\uff09<\/a><br \/>\n<a href=\"http:\/\/www.geocities.jp\/geo_sunisland\/if_and_test.html\" class=\"note\">if \u6587\u3068 test \u30b3\u30de\u30f3\u30c9 &#8211; UNIX &#038; Linux \u30b3\u30de\u30f3\u30c9\u30fb\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/a><br \/>\n<a href=\"http:\/\/www.k4.dion.ne.jp\/~mms\/unix\/linux_com\/cut.html\" class=\"note\">Linux\u30b3\u30de\u30f3\u30c9\u4e00\u89a7 [cut]<\/a><br \/>\n<a href=\"https:\/\/www.zontheworld.com\/blog\/archives\/69\" class=\"note\">VALUE DOMAIN \u3067 DNS\u8a2d\u5b9a<\/a><br \/>\n<a href=\"http:\/\/d.hatena.ne.jp\/nattou_curry_2\/20100131\/1264910483\" class=\"note\">Bash\u57fa\u790e\u6587\u6cd5\u6700\u901f\u30de\u30b9\u30bf\u30fc &#8211; \u4f55\u304b\u3057\u3089\u306e\u8a00\u8a9e\u306b\u3088\u308b\u8a18\u8ff0\u3092\u89e3\u6790\u3059\u308b\u65e5\u8a18<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VALUE DOMAIN \u3067\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u66f4\u65b0\u30b9\u30af\u30ea\u30d7\u30c8\u3002 DiCE DynamicDNS Client (\u81ea\u5b85\u3067\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30b5\u30fc\u30d0\u30fc) \u306a\u3069\u306eDNS\u66f4\u65b0\u30c4\u30fc\u30eb\u3092\u4f7f\u3048\u3070\u3044\u3044\u8a71\u3060\u3051\u3069\u3001Linux \u306b\u30a4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[48],"tags":[56,47,46,60],"_links":{"self":[{"href":"https:\/\/www.zontheworld.com\/blog\/wp-json\/wp\/v2\/posts\/107"}],"collection":[{"href":"https:\/\/www.zontheworld.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zontheworld.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zontheworld.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zontheworld.com\/blog\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":0,"href":"https:\/\/www.zontheworld.com\/blog\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zontheworld.com\/blog\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zontheworld.com\/blog\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zontheworld.com\/blog\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}