{"id":11920,"date":"2024-09-21T18:42:50","date_gmt":"2024-09-21T10:42:50","guid":{"rendered":"http:\/\/999.zuizhuai.cn\/?p=11920"},"modified":"2024-09-21T18:42:50","modified_gmt":"2024-09-21T10:42:50","slug":"%e5%bd%a9%e8%99%b9%e8%81%9a%e5%90%88dns%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f","status":"publish","type":"post","link":"http:\/\/puo.cn\/?p=11920","title":{"rendered":"\u5f69\u8679\u805a\u5408DNS\u7ba1\u7406\u7cfb\u7edf"},"content":{"rendered":"<p>https:\/\/github.com\/netcccyun\/dnsmgr<\/p>\n<p>\u53ef\u4ee5\u7ba1\u7406\u4e0d\u540c\u6ce8\u518c\u5546\u7684\u57df\u540d\uff0c\u53ef\u4ee5\u4f18\u9009CF\/CFT\/G\u7684CDN\u4f18\u9009\uff0c\u53ef\u4ee5\u505a\u5bb9\u707e\u5207\u6362<\/p>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h2 class=\"heading-element\" dir=\"auto\">\u805a\u5408DNS\u7ba1\u7406\u7cfb\u7edf<\/h2>\n<p><a rel=\"nofollow\" id=\"user-content-\u805a\u5408dns\u7ba1\u7406\u7cfb\u7edf\" class=\"anchor\" href=\"https:\/\/github.com\/netcccyun\/dnsmgr#%E8%81%9A%E5%90%88dns%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F\" aria-label=\"Permalink: \u805a\u5408DNS\u7ba1\u7406\u7cfb\u7edf\"><\/a><\/div>\n<p dir=\"auto\">\u805a\u5408DNS\u7ba1\u7406\u7cfb\u7edf\u53ef\u4ee5\u5b9e\u73b0\u5728\u4e00\u4e2a\u7f51\u7ad9\u5185\u7ba1\u7406\u591a\u4e2a\u5e73\u53f0\u7684\u57df\u540d\u89e3\u6790\uff0c\u76ee\u524d\u5df2\u652f\u6301\u7684\u57df\u540d\u5e73\u53f0\u6709\uff1a<\/p>\n<ul dir=\"auto\">\n<li>\u963f\u91cc\u4e91<\/li>\n<li>\u817e\u8baf\u4e91<\/li>\n<li>\u534e\u4e3a\u4e91<\/li>\n<li>\u897f\u90e8\u6570\u7801<\/li>\n<li>DNSLA<\/li>\n<li>CloudFlare<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\">\u529f\u80fd\u7279\u6027<\/h3>\n<p><a rel=\"nofollow\" id=\"user-content-\u529f\u80fd\u7279\u6027\" class=\"anchor\" href=\"https:\/\/github.com\/netcccyun\/dnsmgr#%E5%8A%9F%E8%83%BD%E7%89%B9%E6%80%A7\" aria-label=\"Permalink: \u529f\u80fd\u7279\u6027\"><\/a><\/div>\n<ul dir=\"auto\">\n<li>\u591a\u7528\u6237\u7ba1\u7406\uff0c\u53ef\u4e3a\u6bcf\u4e2a\u7528\u6237\u53ef\u5206\u914d\u4e0d\u540c\u7684\u57df\u540d\u89e3\u6790\u6743\u9650<\/li>\n<li>\u63d0\u4f9bAPI\u63a5\u53e3\uff0c\u53ef\u83b7\u53d6\u57df\u540d\u5355\u72ec\u7684\u767b\u5f55\u94fe\u63a5\uff0c\u65b9\u4fbf\u5404\u79cdIDC\u7cfb\u7edf\u5bf9\u63a5<\/li>\n<li>\u5bb9\u707e\u5207\u6362\u529f\u80fd\uff0c\u652f\u6301ping\u3001tcp\u3001http(s)\u68c0\u6d4b\u534f\u8bae\u5e76\u81ea\u52a8\u6682\u505c\/\u4fee\u6539\u57df\u540d\u89e3\u6790\uff0c\u5e76\u652f\u6301\u90ae\u4ef6\u3001\u5fae\u4fe1\u516c\u4f17\u53f7\u901a\u77e5<\/li>\n<li>CF\u4f18\u9009IP\u529f\u80fd\uff0c\u652f\u6301\u83b7\u53d6\u6700\u65b0\u7684Cloudflare\u4f18\u9009IP\uff0c\u5e76\u81ea\u52a8\u66f4\u65b0\u5230\u89e3\u6790\u8bb0\u5f55<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\">\u6f14\u793a\u622a\u56fe<\/h3>\n<p><a rel=\"nofollow\" id=\"user-content-\u6f14\u793a\u622a\u56fe\" class=\"anchor\" href=\"https:\/\/github.com\/netcccyun\/dnsmgr#%E6%BC%94%E7%A4%BA%E6%88%AA%E5%9B%BE\" aria-label=\"Permalink: \u6f14\u793a\u622a\u56fe\"><\/a><\/div>\n<p dir=\"auto\">\u6dfb\u52a0\u57df\u540d\u8d26\u6237<\/p>\n<p dir=\"auto\"><a rel=\"nofollow\" href=\"https:\/\/camo.githubusercontent.com\/e42c1060596ba5dce10babac69e5070168e558bc41bedcc501156e1b71032695\/68747470733a2f2f70302e6d65697475616e2e6e65742f6373632f30393035303863646337616161626431383562613963373661386330393966393238333934362e706e67\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12027\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240922011323643.jpg\" width=\"3837\" height=\"1846\" alt=\"20240922011323643\" title=\"20240922011323643\" \/><\/a><\/p>\n<p dir=\"auto\">\u57df\u540d\u7ba1\u7406\u5217\u8868<\/p>\n<p dir=\"auto\">\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p dir=\"auto\">\u57df\u540dDNS\u89e3\u6790\u7ba1\u7406\uff0c\u652f\u6301\u89e3\u6790\u6279\u91cf\u64cd\u4f5c<\/p>\n<p dir=\"auto\">\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p dir=\"auto\">CF\u4f18\u9009IP\u529f\u80fd\uff0c\u6dfb\u52a0\u4f18\u9009IP\u4efb\u52a1<\/p>\n<p dir=\"auto\"><a rel=\"nofollow\" href=\"https:\/\/camo.githubusercontent.com\/407d7fd84a30d90d20b8fbae698d6c4d2aab8f8ccb315fccd2be83508e4f35d9\/68747470733a2f2f70312e6d65697475616e2e6e65742f6373632f64613730633736373533616565346263653034346431366661646435366535663231373636302e706e67\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12028\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240922011328773.jpg\" width=\"2875\" height=\"1453\" alt=\"20240922011328773\" title=\"20240922011328773\" \/><\/a><\/p>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\">\u90e8\u7f72\u65b9\u6cd5<\/h3>\n<p><a rel=\"nofollow\" id=\"user-content-\u90e8\u7f72\u65b9\u6cd5\" class=\"anchor\" href=\"https:\/\/github.com\/netcccyun\/dnsmgr#%E9%83%A8%E7%BD%B2%E6%96%B9%E6%B3%95\" aria-label=\"Permalink: \u90e8\u7f72\u65b9\u6cd5\"><\/a><\/div>\n<ul dir=\"auto\">\n<li>\n<p dir=\"auto\">\u4ece<a rel=\"nofollow\" href=\"https:\/\/github.com\/netcccyun\/dnsmgr\/releases\">Release<\/a>\u9875\u9762\u4e0b\u8f7d\u5b89\u88c5\u5305<\/p>\n<\/li>\n<li>\n<p dir=\"auto\">\u8fd0\u884c\u73af\u5883\u8981\u6c42PHP7.4+\uff0cMySQL5.6+<\/p>\n<\/li>\n<li>\n<p dir=\"auto\">\u8bbe\u7f6e\u7f51\u7ad9\u8fd0\u884c\u76ee\u5f55\u4e3a<code>public<\/code><\/p>\n<\/li>\n<li>\n<p dir=\"auto\">\u8bbe\u7f6e\u4f2a\u9759\u6001\u4e3a<code>ThinkPHP<\/code><\/p>\n<\/li>\n<li>\n<p dir=\"auto\">\u5982\u679c\u662f\u4e0b\u8f7d\u7684Source code\u5305\uff0c\u8fd8\u9700Composer\u5b89\u88c5\u4f9d\u8d56\uff08Release\u9875\u9762\u4e0b\u8f7d\u7684\u5b89\u88c5\u5305\u4e0d\u9700\u8981\uff09<\/p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"composer install --no-dev\">\n<pre class=\"notranslate\"><code>composer install --no-dev\n<\/code><\/pre>\n<\/div>\n<\/li>\n<li>\n<p dir=\"auto\">\u8bbf\u95ee\u7f51\u7ad9\uff0c\u4f1a\u81ea\u52a8\u8df3\u8f6c\u5230\u5b89\u88c5\u9875\u9762\uff0c\u6839\u636e\u63d0\u793a\u5b89\u88c5\u5b8c\u6210<\/p>\n<\/li>\n<li>\n<p dir=\"auto\">\u8bbf\u95ee\u9996\u9875\u767b\u5f55\u63a7\u5236\u9762\u677f<\/p>\n<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h5 class=\"heading-element\" dir=\"auto\">\u4f2a\u9759\u6001\u89c4\u5219<\/h5>\n<p><a rel=\"nofollow\" id=\"user-content-\u4f2a\u9759\u6001\u89c4\u5219\" class=\"anchor\" href=\"https:\/\/github.com\/netcccyun\/dnsmgr#%E4%BC%AA%E9%9D%99%E6%80%81%E8%A7%84%E5%88%99\" aria-label=\"Permalink: \u4f2a\u9759\u6001\u89c4\u5219\"><\/a><\/div>\n<ul dir=\"auto\">\n<li>Nginx<\/li>\n<\/ul>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"location \/ {\n\tif (!-e $request_filename){\n\t\trewrite  ^(.*)$  \/index.php?s=$1  last;   break;\n\t}\n}\"><\/p>\n<pre class=\"notranslate\"><code>location \/ {\n\tif (!-e $request_filename){\n\t\trewrite  ^(.*)$  \/index.php?s=$1  last;   break;\n\t}\n}\n<\/code><\/pre>\n<\/div>\n<ul dir=\"auto\">\n<li>Apache<\/li>\n<\/ul>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" style=\"position: relative !important;overflow: auto !important;justify-content: space-between;margin-bottom: var(--base-size-16);background-color: var(--bgcolor-muted, var(--color-canvas-subtle));color: #1f2328;font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size: 16px;font-style: normal;font-weight: 400;letter-spacing: normal;text-align: start;text-indent: 0px;text-transform: none\" data-snippet-clipboard-copy-content=\"&lt;IfModule mod_rewrite.c&gt;\n  Options +FollowSymlinks -Multiviews\n  RewriteEngine On\n\n  RewriteCond %{REQUEST_FILENAME} !-d\n  RewriteCond %{REQUEST_FILENAME} !-f\n  RewriteRule ^(.*)$ index.php\/$1 [QSA,PT,L]\n&lt;\/IfModule&gt;\"><\/p>\n<pre class=\"notranslate\"><code>&lt;IfModule mod_rewrite.c&gt;\n  Options +FollowSymlinks -Multiviews\n  RewriteEngine On\n\n  RewriteCond %{REQUEST_FILENAME} !-d\n  RewriteCond %{REQUEST_FILENAME} !-f\n  RewriteRule ^(.*)$ index.php\/$1 [QSA,PT,L]\n&lt;\/IfModule&gt;\n<\/code><\/pre>\n<\/div>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\">Docker\u90e8\u7f72\u65b9\u6cd5<\/h3>\n<p><a rel=\"nofollow\" id=\"user-content-docker\u90e8\u7f72\u65b9\u6cd5\" class=\"anchor\" href=\"https:\/\/github.com\/netcccyun\/dnsmgr#docker%E9%83%A8%E7%BD%B2%E6%96%B9%E6%B3%95\" aria-label=\"Permalink: Docker\u90e8\u7f72\u65b9\u6cd5\"><\/a><\/div>\n<p dir=\"auto\">\u9996\u5148\u9700\u8981\u5b89\u88c5Docker\uff0c\u7136\u540e\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u62c9\u53d6\u955c\u50cf\u5e76\u542f\u52a8\uff08\u542f\u52a8\u540e\u76d1\u542c8081\u7aef\u53e3\uff09\uff1a<\/p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"docker run --name dnsmgr -dit -p 8081:80 -v \/var\/dnsmgr:\/app\/www netcccyun\/dnsmgr\">\n<pre class=\"notranslate\"><code>docker run --name dnsmgr -dit -p 8081:80 -v \/var\/dnsmgr:\/app\/www netcccyun\/dnsmgr\n<\/code><\/pre>\n<\/div>\n<p dir=\"auto\">\u8bbf\u95ee\u5e76\u5b89\u88c5\u597d\u540e\u5982\u679c\u5bb9\u707e\u5207\u6362\u672a\u81ea\u52a8\u542f\u52a8\uff0c\u91cd\u542f\u5bb9\u5668\u5373\u53ef\uff1a<\/p>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"docker restart dnsmgr\">\n<pre class=\"notranslate\"><code>docker restart dnsmgr\n<\/code><\/pre>\n<\/div>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\">\u7248\u6743\u4fe1\u606f<\/h3>\n<p><a rel=\"nofollow\" id=\"user-content-\u7248\u6743\u4fe1\u606f\" class=\"anchor\" href=\"https:\/\/github.com\/netcccyun\/dnsmgr#%E7%89%88%E6%9D%83%E4%BF%A1%E6%81%AF\" aria-label=\"Permalink: \u7248\u6743\u4fe1\u606f\"><\/a><\/div>\n<p dir=\"auto\">\u7248\u6743\u6240\u6709Copyright \u00a9 2023~2024 by \u6d88\u5931\u7684\u5f69\u8679\u6d77(<a rel=\"nofollow\" href=\"https:\/\/blog.cccyun.cn\/\" rel=\"nofollow\">https:\/\/blog.cccyun.cn<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/github.com\/netcccyun\/dnsmgr \u53ef\u4ee5\u7ba1\u7406\u4e0d\u540c\u6ce8\u518c\u5546\u7684\u57df\u540d\uff0c\u53ef\u4ee5\u4f18\u9009CF\/CFT\/G\u7684CDN\u4f18\u9009\uff0c\u53ef\u4ee5\u505a\u5bb9\u707e\u5207\u6362 \u805a\u5408DNS\u7ba1\u7406\u7cfb\u7edf \u805a\u5408DNS\u7ba1\u7406\u7cfb\u7edf\u53ef\u4ee5\u5b9e\u73b0\u5728\u4e00\u4e2a\u7f51\u7ad9\u5185\u7ba1\u7406\u591a\u4e2a\u5e73\u53f0\u7684\u57df\u540d\u89e3\u6790\uff0c\u76ee\u524d\u5df2&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[140],"tags":[158,161],"topic":[],"class_list":["post-11920","post","type-post","status-publish","format-standard","hentry","category-domain-website","tag-dns","tag-github"],"_links":{"self":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/11920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11920"}],"version-history":[{"count":0,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/11920\/revisions"}],"wp:attachment":[{"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11920"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11920"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=11920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}