{"id":1142,"date":"2019-03-30T11:54:11","date_gmt":"2019-03-30T03:54:11","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=1142"},"modified":"2022-05-11T09:11:38","modified_gmt":"2022-05-11T01:11:38","slug":"%e5%9c%a8pfsense%e4%b8%8b%e8%ae%be%e7%bd%aegodaddy%e5%8a%a8%e6%80%81dns-api%e6%9d%a1%e7%9b%ae","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=1142","title":{"rendered":"pfSense\u8bbe\u7f6eGoDaddy\u52a8\u6001DNS API\u8bb0\u5f55"},"content":{"rendered":"<header>\n<p style=\"text-align: justify;\">\u5bb6\u5ead\u7528\u6237\u4e00\u822c\u90fd\u91c7\u7528\u62e8\u53f7\u8fde\u63a5\u5230Internet\uff0c\u6ca1\u6709\u56fa\u5b9a\u7684\u5916\u7f51\u5730\u5740\uff0c\u5982\u679c\u60f3\u4ece\u5916\u90e8\u63d0\u4f9b\u670d\u52a1\uff0c\u5219\u5fc5\u987b\u4f7f\u7528\u52a8\u6001DNS\u7b49\u6280\u672f\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5177\u6709\u5f53\u524dIP\u5730\u5740\u7684A\u8bb0\u5f55\u5b58\u50a8\u5728\u57df\u7684DNS\u670d\u52a1\u5668\u4e2d\u3002<\/p>\n<p style=\"text-align: justify;\">\u63d0\u4f9b\u5546\u63d0\u4f9b\u52a8\u6001DNS\u6709\u4e9b\u652f\u6301\u8f83\u5c11\u7684\u529f\u80fd\uff0c\u6709\u4e9b\u652f\u6301\u7684\u529f\u80fd\u66f4\u591a\uff0c \u4f8b\u5982\uff0cStrato\u53ea\u5141\u8bb8\u60a8\u901a\u8fc7\u66f4\u65b0URL\u8f93\u5165A\u8bb0\u5f55\u3002\u8fd9\u5bf9\u4e8eVPN\u6216\u642d\u8bbeWeb\u670d\u52a1\u5668\u7b49\u6765\u8bf4\u5df2\u7ecf\u8db3\u591f\u4e86\uff0c\u4f46\u662f\u5bf9DNS\u8eab\u4efd\u9a8c\u8bc1\u6216\u90ae\u4ef6\u670d\u52a1\u5668\u7b49\u66f4\u590d\u6742\u7684\u5e94\u7528\uff08\u4f8b\u5982Let&#8217;s Encrypt\u901a\u914d\u7b26\u8bc1\u4e66\uff09\u5219\u65e0\u6cd5\u6ee1\u8db3\u3002<\/p>\n<p style=\"text-align: justify;\"><span class=\"\">GoDaddy \u63d0\u4f9b\u4e86\u4e00\u4e2a\u975e\u5e38\u5168\u9762\u7684 API\uff0c\u53ef\u4ee5\u7528\u6765\u505a\u5f88\u591a\u4e8b\u60c5\uff0c\u800c\u4e0d\u4ec5\u4ec5\u662f\u7ba1\u7406DNS\u8bb0\u5f55\u3002<\/span><\/p>\n<\/header>\n<h1 style=\"text-align: justify;\">\u8bbe\u7f6eGoDaddy API\u8bbf\u95ee\u6570\u636e<\/h1>\n<div style=\"text-align: justify;\">\n<p>\u8981\u4f7f\u7528GoDaddy API\uff0c\u5fc5\u987b\u5728<a href=\"https:\/\/developer.godaddy.com\/\">https:\/\/developer.godaddy.com\/<\/a>\u4e0a\u521b\u5efaAPI\u5bc6\u94a5\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/apikey1-300x65.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3099\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/apikey1-300x65.jpg\" alt=\"\" width=\"300\" height=\"65\" \/><\/a><\/p>\n<p>\u5355\u51fb\u201c\u521b\u5efa\u65b0API\u5bc6\u94a5\u201d\u3002\u5728\u6b64\u5904\u8f93\u5165\u4e00\u4e2a\u540d\u79f0\uff0c\u8be5\u540d\u79f0\u53ef\u4ee5\u8bf4\u660e\u8be5API\u5bc6\u94a5\u7684\u9884\u671f\u7528\u9014\u3002\u5e94\u7528\u73af\u5883\u53ef\u4ee5\u6307\u5b9a\u4e3a\u751f\u4ea7\u7528\u9014\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/newkey-300x164.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3101\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/newkey-300x164.jpg\" alt=\"\" width=\"300\" height=\"164\" \/><\/a><\/p>\n<p>\u7136\u540e\u4f1a\u663e\u793aKey\u548cSecret\u3002<\/p>\n<h1>\u8bbe\u7f6epfSense\u52a8\u6001DNS\u670d\u52a1<\/h1>\n<p>pfSense\u4e0b\u7684\u8bbe\u7f6e\u975e\u5e38\u7b80\u5355\u3002\u5728Services &gt; Dynamic DNS\u4e0b\uff0c\u4f7f\u7528\u201c+\u6dfb\u52a0\u201d\u6309\u94ae\u521b\u5efa\u4e00\u4e2a\u65b0\u5e10\u6237\u5e76\u586b\u5199\u6240\u9700\u6570\u636e\u3002<\/p>\n<p>\u5f53\u4f7f\u7528\u4e3b\u52a8\u6001DNS\u57df\u65f6\uff0c\u4f7f\u7528\u4e0b\u56fe\u4e2d\u7684@\u3002\u5426\u5219\u5728\u8fd9\u91cc\u586b\u5199\u5b50\u57df\uff08\u4f8b\u5982www\u6216\u90ae\u4ef6\uff09\u3002<br \/>\nUsername\u662f\u5148\u524d\u521b\u5efa\u7684API\u8bbf\u95ee\u7684Key\uff0cSecret\u5728password\u4e0b\u8f93\u5165\u3002<br \/>\n\u4e3a\u4e86\u4f7f\u7528API\u200b\u200b\uff0c\u5fc5\u987b\u6307\u5b9aTTL\u3002\u9ed8\u8ba4\u7684GoDaddy\u503c\u4e3a600\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/dyndnspfsense-1024x1003.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3102\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/dyndnspfsense-1024x1003.jpg\" alt=\"\" width=\"1024\" height=\"1003\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/dyndnspfsense-1024x1003.jpg 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/dyndnspfsense-1024x1003-300x294.jpg 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/dyndnspfsense-1024x1003-768x752.jpg 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/11\/dyndnspfsense-1024x1003-306x300.jpg 306w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>\u5355\u51fb\u201cSave &amp; Force Update\uff08\u4fdd\u5b58\u5e76\u5f3a\u5236\u66f4\u65b0\uff09\u201d\u540e\uff0c\u4f60\u5f53\u524d\u8fde\u63a5\u7684IP\u5730\u5740\u5c06\u88ab\u8f93\u5165\u5230GoDaddy\u7684DNS\u670d\u52a1\u5668\u4e2d\u3002<\/p>\n<p>pfSense\u9ed8\u8ba4\u4f7f\u7528<a href=\"http:\/\/checkip.dyndns.org\/\">http:\/\/checkip.dyndns.org<\/a>\u786e\u5b9aIP\u5730\u5740\u3002<\/p>\n<p>\u5728\u201c\u52a8\u6001DNS\u5ba2\u6237\u7aef\u201d\u6982\u8ff0\u4e2d\uff0c\u57df\u65c1\u8fb9\u7684\u5f53\u524dIP\u5730\u5740\u73b0\u5728\u5e94\u8be5\u4ee5\u7eff\u8272\u663e\u793a\u5728\u7f13\u5b58IP\u4e0b\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/5645664.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1200 aligncenter\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/5645664.png\" alt=\"\" width=\"1148\" height=\"330\" srcset=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/5645664.png 1148w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/5645664-300x86.png 300w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/5645664-768x221.png 768w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/5645664-1024x294.png 1024w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/5645664-1000x288.png 1000w, https:\/\/blog.pfchina.org\/wp-content\/uploads\/2019\/03\/5645664-500x144.png 500w\" sizes=\"auto, (max-width: 1148px) 100vw, 1148px\" \/><\/a><\/p>\n<\/div>\n<p style=\"text-align: justify;\">\u539f\u6587<a href=\"https:\/\/sysadms.de\/2018\/09\/godaddy-api-fuer-dynamischen-dns-eintrag-unter-pfsense-einrichten\/\">\u5730\u5740<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5bb6\u5ead\u7528\u6237\u4e00\u822c\u90fd\u91c7\u7528\u62e8\u53f7\u8fde\u63a5\u5230Internet\uff0c\u6ca1\u6709\u56fa\u5b9a\u7684\u5916\u7f51\u5730\u5740\uff0c\u5982\u679c\u60f3\u4ece\u5916\u90e8\u63d0 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=1142\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/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":[28],"tags":[167],"class_list":["post-1142","post","type-post","status-publish","format-standard","hentry","category-pfsense","tag-godaddy"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1142"}],"version-history":[{"count":0,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/1142\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}