{"id":827,"date":"2025-09-09T13:23:59","date_gmt":"2025-09-09T04:23:59","guid":{"rendered":"https:\/\/www.despina.work\/wordpress\/?p=827"},"modified":"2025-09-09T13:24:00","modified_gmt":"2025-09-09T04:24:00","slug":"%e3%83%80%e3%82%a4%e3%83%8a%e3%83%9f%e3%83%83%e3%82%afdns%ef%bc%88cloudflare-ddclient-3-9-1-ubuntu22-04%ef%bc%89%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%97%e3%81%9f","status":"publish","type":"post","link":"https:\/\/www.despina.work\/wordpress\/?p=827","title":{"rendered":"\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS\uff08Cloudflare\/ddclient 3.9.1\/ubuntu22.04\uff09\u3092\u8a2d\u5b9a\u3057\u305f"},"content":{"rendered":"\n<p>\u3081\u3093\u3069\u304f\u3055\u304f\u3066\u5f8c\u56de\u3057\u306b\u3057\u3066\u3044\u305f\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS\u3092\u8a2d\u5b9a\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\uff11\uff0e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install ddclient<\/code><\/pre>\n\n\n\n<p>\u7279\u306b\u6307\u5b9a\u3057\u306a\u3051\u308c\u3070\u300122.04\u3067\u4f7f\u7528\u3067\u304d\u308b\u6700\u65b0\u306e3.9.1\u304c\u5165\u3063\u305f\u3044\u307f\u305f\u3044<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\uff12\uff0e\u8a2d\u5b9a\u3059\u308b<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/ddclient.conf\n\n\nprotocol=cloudflare ##\u30c7\u30d5\u30a9\u3067cloudflare\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u305f\nuse=web, web=myip.dnsomatic.com\u3000###\u30b0\u30ed\u30fc\u30d0\u30ebIP\u78ba\u8a8d\u30b5\u30a4\u30c8\u3092\u5165\u308c\u308b\u3002\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u3044\u308b\u3082\u306e\u4f7f\u7528\u3057\u305f\nttl=1             ###\u3068\u308a\u3042\u3048\u305a\u30c7\u30d5\u30a9\u3067\u3002\u5206\u5358\u4f4d\u3063\u307d\u3044\n\nzone=despina.work ###\u4f7f\u3044\u305f\u3044\u30c9\u30e1\u30a4\u30f3\n##server=\u3000       ###\u3053\u306e\u8a2d\u5b9a\u306f\u4f7f\u308f\u306a\u3044\nlogin=aaa@gmail   ###cloudflare\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u5165\u308c\u308b\npassword='aaa22'  ###cloudflare\u3067\u767a\u884c\u3057\u305fAPI\u30ad\u30fc\u5165\u308c\u308b\nwww.despina.work  ###\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u5165\u308c\u308b\u3002<mark style=\"background-color:rgba(0, 0, 0, 0);color:#ff0000\" class=\"has-inline-color\">\u5165\u308c\u306a\u3044\u3068\u52d5\u304b\u306a\u3044<\/mark>\n\n\n###\u8907\u6570\u30c9\u30e1\u30a4\u30f3\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u306fprotocol\u304b\u3089\u540c\u3058\u3088\u3046\u306b\u8a18\u8ff0\u3057\u3066\u3044\u304f\nprotocol=cloudflare\nuse=web, web=myip.dnsomatic.com\nttl=1\n\nzone=despina2.work\n##server=\nlogin=bbb@gmail\npassword='bbb22'\nwww.despina2.work\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\uff13\uff0e\u30c7\u30fc\u30e2\u30f3\u518d\u8d77\u52d5\u3057\u3066\u3001\u72b6\u614b\u898b\u308b\u3002<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl restart ddclient\nsudo systemctl status ddclient<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\uff14\uff0e\u52d5\u4f5c\u78ba\u8a8d\u3002<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ddclient -verbose -noquiet -debug<\/code><\/pre>\n\n\n\n<p>\u6b63\u5e38\u306a\u3089\u30d0\u30d0\u30fc\u3063\u3068\u30ed\u30b0\u304c\u6d41\u308c\u307e\u3059\u3002\u9006\u306b\u8a00\u3046\u3068\u30ed\u30b0\u6d41\u308c\u306a\u3044\u306a\u3089\u3001\u52d5\u3044\u3066\u306a\u3044\u3002\u6700\u521d\u81ea\u5206\u306f\u3001\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u8a2d\u5b9a\u3057\u5fd8\u308c\u3066\u3066\u52d5\u304b\u306a\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\uff15\uff0e\u30c7\u30fc\u30e2\u30f3\u306e\u81ea\u52d5\u8d77\u52d5\u6709\u52b9\u306b\u3057\u3066\u3001\u518d\u8d77\u52d5\u3057\u3066\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u304a\u308f\u308a<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable ddclient<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u8a70\u307e\u3063\u305f\u3068\u3053\u308d<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Linux\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u3082\u591a\u3044\u3057\u3001ddclient\u81ea\u4f53\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u591a\u3057\u3044\u3001<mark style=\"background-color:rgba(0, 0, 0, 0);color:#0014ff\" class=\"has-inline-color\">\u4ed5\u69d8\u5909\u66f4\u304c\u3081\u307e\u3050\u308b\u3057\u304f\u3001\u3069\u308c\u53c2\u8003\u306b\u3059\u308c\u3070\u3088\u3044\u304b\u308f\u304b\u3089\u306a\u3044<\/mark>\u306e\u3067\u3001<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ff0000\" class=\"has-inline-color\">ChatGPT\u304c\u5f79\u7acb\u3063\u305f\u3002<\/mark><\/strong><\/li>\n\n\n\n<li>\u3053\u306e\u74b0\u5883\u3067\u6b63\u3057\u304b\u3063\u305f\u60c5\u5831\u3068\u3057\u3066\u306f\u4e0b\u8a18\u306e\u30b5\u30a4\u30c8<br><a href=\"https:\/\/www.reddit.com\/r\/selfhosted\/comments\/cldqix\/ddclient_wont_update_cloudflare\/?tl=ja\">ddclient \u304c Cloudflare \u3092\u66f4\u65b0\u3057\u306a\u3044 : r\/selfhosted<\/a><\/li>\n\n\n\n<li>\u53c2\u8003\u8cc7\u6599<br>\u516c\u5f0f\u8cc7\u6599\u30ea\u30f3\u30af\uff1a<a href=\"https:\/\/developers.cloudflare.com\/dns\/manage-dns-records\/how-to\/managing-dynamic-ip-addresses\/\">Dynamically update DNS records \u00b7 Cloudflare DNS docs<\/a><br><br><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3081\u3093\u3069\u304f\u3055\u304f\u3066\u5f8c\u56de\u3057\u306b\u3057\u3066\u3044\u305f\u30c0\u30a4\u30ca\u30df\u30c3\u30afDNS\u3092\u8a2d\u5b9a\u3057\u305f\u3002 \uff11\uff0e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b \u7279\u306b\u6307\u5b9a\u3057\u306a\u3051\u308c\u3070\u300122.04\u3067\u4f7f\u7528\u3067\u304d\u308b\u6700\u65b0\u306e3.9.1\u304c\u5165\u3063\u305f\u3044\u307f\u305f\u3044 \uff12\uff0e\u8a2d\u5b9a\u3059\u308b \uff13\uff0e\u30c7\u30fc\u30e2\u30f3\u518d\u8d77\u52d5\u3057\u3066\u3001\u72b6\u614b\u898b\u308b\u3002 \uff14\uff0e\u52d5\u4f5c\u78ba [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-827","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/www.despina.work\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.despina.work\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.despina.work\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.despina.work\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.despina.work\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=827"}],"version-history":[{"count":1,"href":"https:\/\/www.despina.work\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/827\/revisions"}],"predecessor-version":[{"id":828,"href":"https:\/\/www.despina.work\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/827\/revisions\/828"}],"wp:attachment":[{"href":"https:\/\/www.despina.work\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.despina.work\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.despina.work\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}