{"id":525729,"date":"2021-08-16T12:44:19","date_gmt":"2021-08-16T04:44:19","guid":{"rendered":"http:\/\/4563.org\/?p=525729"},"modified":"2021-08-16T12:44:19","modified_gmt":"2021-08-16T04:44:19","slug":"adguardhome-%e5%9c%a8vps%e4%b8%8a%e8%a3%85dns%e5%b9%bf%e5%91%8a%e8%bf%87%e6%bb%a4%ef%bc%8c%e7%bd%91%e9%a1%b5%e5%90%8e%e5%8f%b0%e7%ae%a1%e7%90%86%ef%bc%8c%e4%b8%80%e9%94%ae%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=525729","title":{"rendered":"AdGuardHome \u5728VPS\u4e0a\u88c5DNS\u5e7f\u544a\u8fc7\u6ee4\uff0c\u7f51\u9875\u540e\u53f0\u7ba1\u7406\uff0c\u4e00\u952e\u5b89\u88c5"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>nat.ee<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>AdGuardHome \u5728VPS\u4e0a\u88c5DNS\u5e7f\u544a\u8fc7\u6ee4\uff0c\u7f51\u9875\u540e\u53f0\u7ba1\u7406\uff0c\u4e00\u952e\u5b89\u88c5<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 nat.ee \u4e8e 2021-8-16 12:45 \u7f16\u8f91 <\/p>\n<p> https:\/\/camo.githubusercontent.com\/42b91eda808e2f68c98250679e29bcb0b0b4ef0364a4f67b6821982f4c87b1b3\/68747470733a2f2f63646e2e616467756172642e636f6d2f7075626c69632f416467756172642f436f6d6d6f6e2f616467756172645f686f6d652e676966<\/p>\n<p>  \u4ece\u524d\u5206\u4eab\u8fc7 Pi-Hole \u8fd9\u73a9\u610f\u5b89\u88c5\u9ebb\u70e6\uff0c\u800c\u4e14\u65e9\u524d\u63d0\u4ea4\u6c49\u5316\u6587\u4ef6\u7ed9\u4ed6\u4eec\uff0c\u5230\u73b0\u5728\u90fd\u51e0\u5e74\u4e86\u4e5f\u4e0d\u66f4\u65b0\u672c\u5730\u5316 \u652f\u6301 \u7b80\u4f53\u4e2d\u6587\u3002<\/p>\n<p>  \u8fd9\u6b21\u5076\u5c14\u770b\u89c1 AdGuard \u4e5f\u6709\u4e00\u4e2a\u642d\u5efadns\u53bb\u5e7f\u544a\u8fc7\u6ee4\u7684\u7aef\uff0c\u5b89\u88c5\u7b80\u5355\uff0c\u800c\u4e14\u652f\u6301\u4e2d\u6587\u3002<\/p>\n<p>  \u8fd9\u4e2a\u662f\u9879\u76ee\u5730\u5740\uff1ahttps:\/\/github.com\/AdguardTeam\/AdGuardHome<\/p>\n<p>  \u4e00\u952e\u5b89\u88c5\uff1acurl -s -S -L https:\/\/raw.githubusercontent.com\/AdguardTeam\/AdGuardHome\/master\/scripts\/install.sh | sh -s &#8212; -v<\/p>\n<p>  \u8fd9\u4e2a\u4f1a\u5360\u7528\u672c\u573053\u7aef\u53e3\uff0c\u4e5f\u4f1a\u5360\u75283306\u7aef\u53e3\uff0c\u4e5f\u5c31\u662fmysql\uff0c\u5047\u5982\u4f60\u7684\u673a\u5b50\u4e0a\u505a\u7ad9\u4f7f\u7528mysql\u4f1a\u51b2\u7a81\u3002<br \/>  \u8fd8\u6709\u4e00\u4e2a\u5c31\u662f\u81ea\u5b9a\u4e49\u7684\u7f51\u9875\u540e\u53f0\u7ba1\u7406\u7aef\u53e3\uff0c<\/p>\n<p>  \u5b89\u88c5\u6210\u529f\u540e\u5462\uff0c\u4ee5\u5b9d\u5854\u4e3a\u4f8b\uff0c\u5728 \u63d2\u4ef6 Linux\u5de5\u5177\u7bb1 DNS\u8bbe\u7f6e \u4e3b\u8981DNS \u4fee\u6539\u4e3a 127.0.0.1<br \/>  \u7136\u540e\u4f60\u7684\u79d1\u5b66\u4e0a\u7f51\u5ba2\u6237\u7aef\uff0c\u4e5f\u5728DNS\u8bbe\u7f6e\u4e3a127.0.0.1<\/p>\n<p>  \u57fa\u672c\u5c31OJ8K\u4e86\uff0c\u4e4b\u540e\u5c31\u662f\u81ea\u5df1\u53ef\u4ee5\u5728\u7f51\u9875\u540e\u53f0\u8bbe\u7f6e\u90a3\u4e9b\u529f\u80fd\u3002<\/p>\n<p>  \u5f53\u7136\u4e5f\u53ef\u4ee5\u5229\u7528iptables \u52ab\u630153\u7aef\u53e3\u8f6c\u53d1\u5230127.0.0.1:53\u7aef\u53e3\uff0c\u8fd9\u6837\u5c31\u4e0d\u7528\u8bbe\u7f6eDNS\u3002<\/p>\n<p>  \u90a3\u4e48\u597d\u5904\u6709\u5565\uff1f \u5728\u4f60\u7545\u6e38\u5916\u7f51\u7684\u65f6\u5019\uff0c\u4e5f\u5e26\u6709\u7b80\u5355\u7684DNS\u5e7f\u544a\u8fc7\u6ee4\u3002\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>nat.ee \u5927\u4f6c\u6709\u8bdd\u8bf4 : Ad&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/525729"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=525729"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/525729\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=525729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=525729"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=525729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}