{"id":14635,"date":"2025-03-29T11:35:18","date_gmt":"2025-03-29T03:35:18","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=14635"},"modified":"2025-03-29T12:06:44","modified_gmt":"2025-03-29T04:06:44","slug":"opnsense-dns%e9%85%8d%e7%bd%ae%e9%80%89%e9%a1%b9%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=14635","title":{"rendered":"OPNsense DNS\u914d\u7f6e\u9009\u9879\u8be6\u89e3"},"content":{"rendered":"<p style=\"text-align: justify;\">OPNsense\u4e2d\u6709\u5f88\u591aDNS\u914d\u7f6e\u9009\u9879\uff0c\u4e00\u4e9b\u9009\u9879\u9002\u7528\u4e8eOPNsense\u672c\u8eab\uff0c\u800c\u5176\u4ed6\u9009\u9879\u9002\u7528\u4e8eUnbound DNS\u548cDHCP\u670d\u52a1\u3002\u4e0b\u9762\u5c31\u8fd9\u4e9bDNS\u914d\u7f6e\u9009\u9879\u7684\u8bbe\u7f6e\u8fdb\u884c\u4e00\u4e2a\u7b80\u8981\u8bf4\u660e\u3002<\/p>\n<h2 id=\"system--general\" style=\"text-align: justify;\">\u5e38\u89c4\u8bbe\u7f6e<\/h2>\n<p style=\"text-align: justify;\">\u201c\u7cfb\u7edf&gt;\u8bbe\u7f6e&gt;\u5e38\u89c4\u201d\u662fOPNsense\u4e2dDNS \u914d\u7f6e\u7684\u7b2c\u4e00\u4e2a\u9009\u9879\u4e4b\u4e00\uff0c\u5728\u65b0\u5b89\u88c5\u540e\u8fd0\u884c\u7684\u7b2c\u4e00\u6b21\u542f\u52a8\u65f6\uff0cOPNsense\u5411\u5bfc\u4f1a\u63d0\u4f9b\u6b64\u9875\u9762\u4e0a\u7684\u8bbe\u7f6e\u9009\u9879\u3002\u7531\u4e8e\u8fd9\u4e9b\u8bbe\u7f6e\u88ab\u5f52\u7c7b\u5728\u201c\u7cfb\u7edf\u201d\u8bbe\u7f6e\u4e0b\uff0c\u56e0\u6b64\u8fd9\u4e9bDNS\u9009\u9879\u4e0eOPNsense\u672c\u8eab\u548c\u5728OPNsense\u4e0a\u8fd0\u884c\u7684\u670d\u52a1\u6709\u5173\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/03\/PixPin_2025-03-29_11-36-37.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14649\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/03\/PixPin_2025-03-29_11-36-37.png\" alt=\"\" width=\"2464\" height=\"1680\" \/><\/a><\/p>\n<h3 id=\"dns-servers-list\" style=\"text-align: justify;\">DNS\u670d\u52a1\u5668\u5217\u8868<\/h3>\n<p style=\"text-align: justify;\">\u201cDNS\u670d\u52a1\u5668\u201d\u6307\u5b9aOPNsense\u7cfb\u7edf\u5728\u68c0\u67e5\u548c\u4e0b\u8f7d\u66f4\u65b0\u65f6\u4f7f\u7528\u7684DNS\u670d\u52a1\u5668\uff0c\u540c\u65f6\u4e5f\u7528\u4e8eDHCP\u548cDNS\u670d\u52a1\u3002\u4f46\u662f\uff0c\u8fd9\u4e9b\u8bbe\u7f6e\u4f1a\u8ddf\u662f\u5426\u542f\u7528 Unbound DNS\u800c\u6709\u6240\u4e0d\u540c\u3002<\/p>\n<h4 style=\"text-align: justify;\">\u542f\u7528Unbound DNS<\/h4>\n<ul style=\"text-align: justify;\">\n<li>Unbound DNS\uff1aUnbound DNS\u670d\u52a1\u5c06\u9012\u5f52\u89e3\u6790\u6765\u81ea\u6839DNS\u670d\u52a1\u5668\u7684DNS\u67e5\u8be2\uff0c\u800c\u4e0d\u7ba1\u201c\u5141\u8bb8DNS\u670d\u52a1\u5668\u5217\u8868\u88abWAN\/DHCP\u4e0a\u7684DHCP\/PPP\u8986\u76d6\u201d\u9009\u9879\u548cDNS\u670d\u52a1\u5668\u5217\u8868\u7684\u503c\u5982\u4f55\uff0c\u56e0\u4e3aUnbound DNS\u9ed8\u8ba4\u4e3a\u9012\u5f52DNS\u89e3\u6790\u5668\u3002<\/li>\n<li>DHCP\u5ba2\u6237\u7aef\uff1a\u7f51\u7edc\u4e0a\u7684\u5ba2\u6237\u7aef\u5c06\u4f7f\u7528Unbound DNS\u4f5c\u4e3a\u5176DNS\u670d\u52a1\u5668\uff08\u6bcf\u4e2a\u63a5\u53e3\u7684 IP \u5730\u5740\uff09\u3002\u542f\u7528Unbound DNS\u540e\uff0c\u5ba2\u6237\u7aef\u4e0d\u4f1a\u76f4\u63a5\u4f7f\u7528\u201c\u7cfb\u7edf&gt;\u8bbe\u7f6e&gt;\u5e38\u89c4\u201d\u9875\u9762\u4e0a\u5217\u8868\u4e2d\u7684DNS\u670d\u52a1\u5668\u3002<\/li>\n<li>OPNsense\u7cfb\u7edf\uff1a\u5982\u679c\u542f\u7528\u4e86\u201c\u5141\u8bb8WAN\u4e0a\u7684DHCP\/PPP\u8986\u76d6DNS\u670d\u52a1\u5668\u5217\u8868\u201d\u9009\u9879\u5e76\u586b\u5199\u4e86DNS\u670d\u52a1\u5668\u5217\u8868\uff0c\u5219OPNsense\u7cfb\u7edf\u5c06\u4f7f\u7528 localhost\uff08\u4f7f\u7528Unbound DNS\u670d\u52a1\uff09\u3001DNS\u670d\u52a1\u5668\u5217\u8868\u4e2d\u7684\u670d\u52a1\u5668\u4ee5\u53caWAN\u63a5\u53e3\u4e0aDHCP\u670d\u52a1\u63d0\u4f9b\u7684DNS\u670d\u52a1\u5668\u3002\u8fd9\u53ef\u4ee5\u5728\u201c\u63a5\u53e3&gt;\u8bca\u65ad&gt;DNS \u67e5\u627e\u201d\u9875\u9762\u4e0a\u4eceOPNsense\u7cfb\u7edf\u8fdb\u884cDNS\u67e5\u627e\u65f6\u53d1\u73b0\u8fd9\u79cd\u60c5\u51b5\u3002\u5982\u679cDNS\u670d\u52a1\u5668\u5217\u8868\u4e3a\u7a7a\uff0c\u5219OPNsense\u7cfb\u7edf\u4ec5\u4f7f\u7528localhost\u548c WAN\u63a5\u53e3\u4e0aDHCP\u670d\u52a1\u63d0\u4f9b\u7684DNS\u670d\u52a1\u5668\u3002<\/li>\n<li>OPNsense\u7cfb\u7edf\uff1a\u5982\u679c\u7981\u7528\u4e86\u201c\u5141\u8bb8WAN\u4e0a\u7684DHCP\/PPP\u8986\u76d6DNS\u670d\u52a1\u5668\u5217\u8868\u201d\u9009\u9879\u5e76\u586b\u5145\u4e86DNS\u670d\u52a1\u5668\u5217\u8868\uff0c\u5219OPNsense\u7cfb\u7edf\u5c06\u4f7f\u7528 localhost\uff08\u4f7f\u7528Unbound DNS\u670d\u52a1\uff09\u548cDNS\u5217\u8868\u4e2d\u7684\u670d\u52a1\u5668\u3002\u5982\u679cDNS\u670d\u52a1\u5668\u5217\u8868\u4e3a\u7a7a\uff0cOPNsense\u7cfb\u7edf\u5c06\u9012\u5f52\u89e3\u6790DNS\u67e5\u8be2\u3002<\/li>\n<\/ul>\n<h4 style=\"text-align: justify;\">\u7981\u7528Unbound DNS<\/h4>\n<ul style=\"text-align: justify;\">\n<li>DHCP\u5ba2\u6237\u7aef\uff1a\u4f7f\u7528DHCP\u7684\u5ba2\u6237\u7aef\u5c06\u88ab\u5206\u914d\u201c\u7cfb\u7edf&gt;\u8bbe\u7f6e&gt;\u5e38\u89c4\u201d\u9875\u9762\u4e0a\u7684\u5217\u8868\u4e2d\u7684DNS\u670d\u52a1\u5668\uff0c\u800c\u4e0d\u662f\u6bcf\u4e2a\u63a5\u53e3\u7684IP\u5730\u5740\uff0c\u56e0\u4e3aUnbound DNS\u5df2\u88ab\u7981\u7528\uff08\u5373\u4f7f\u201c\u5141\u8bb8DNS\u670d\u52a1\u5668\u5217\u8868\u88abWAN\u4e0a\u7684DHCP\/PPP \u8986\u76d6\u201d\u9009\u9879\u5df2\u542f\u7528\uff09\u3002<\/li>\n<li>DHCP\u5ba2\u6237\u7aef\uff1a\u5982\u679c\u542f\u7528\u4e86\u201c\u5141\u8bb8DNS\u670d\u52a1\u5668\u5217\u8868\u88abWAN\u4e0a\u7684DHCP\/PPP \u8986\u76d6\u201d\u9009\u9879\uff0c\u5e76\u4e14DNS\u670d\u52a1\u5668\u5217\u8868\u4e3a\u7a7a\uff0c\u5219\u4e0d\u4f1a\u5411DHCP\u5ba2\u6237\u7aef\u5206\u914dDNS\u670d\u52a1\u5668\u3002\u7981\u7528Unbound DNS\u65f6\uff0cDHCP\u5ba2\u6237\u7aef\u5c06\u4ec5\u4f7f\u7528DNS\u670d\u52a1\u5668\u5217\u8868\u4e2d\u5217\u51fa\u7684\u670d\u52a1\u5668\u3002<\/li>\n<li>OPNsense\u7cfb\u7edf\uff1a\u5982\u679c\u542f\u7528\u4e86\u201c\u5141\u8bb8DNS \u670d\u52a1\u5668\u5217\u8868\u88abWAN\u4e0a\u7684DHCP\/PPP\u8986\u76d6\u201d\u9009\u9879\u5e76\u586b\u5199\u4e86DNS\u670d\u52a1\u5668\u5217\u8868\uff0c\u5219OPNsense\u7cfb\u7edf\u5c06\u540c\u65f6\u4f7f\u7528WAN\u63a5\u53e3\u4e0aDHCP\u63d0\u4f9b\u7684DNS \u670d\u52a1\u5668\u548c\u201c\u7cfb\u7edf&gt;\u8bbe\u7f6e&gt;\u5e38\u89c4\u201d\u9875\u9762\u4e0a\u7684DNS\u670d\u52a1\u5668\u3002\u5982\u679cDNS\u670d\u52a1\u5668\u5217\u8868\u4e3a\u7a7a\uff0cOPNsense\u7cfb\u7edf\u5c06\u4ec5\u4f7f\u7528WAN\u63a5\u53e3\u4e0aDHCP\u63d0\u4f9b\u7684DNS\u670d\u52a1\u5668\u3002<\/li>\n<li>OPNsense\u7cfb\u7edf\uff1a\u5982\u679c\u7981\u7528\u4e86\u201c\u5141\u8bb8WAN\u4e0a\u7684DHCP\/PPP\u8986\u76d6DNS\u670d\u52a1\u5668\u5217\u8868\u201d\u9009\u9879\u5e76\u586b\u5199\u4e86DNS\u670d\u52a1\u5668\u5217\u8868\uff0c\u5219OPNsense\u7cfb\u7edf\u5c06\u4ec5\u4f7f\u7528\u5217\u8868\u4e2d\u7684DNS\u670d\u52a1\u5668\u3002\u5982\u679cDNS\u670d\u52a1\u5668\u5217\u8868\u4e3a\u7a7a\uff0c\u5219OPNsense\u7cfb\u7edf\u5c06\u4e0d\u4f1a\u4f7f\u7528\u4efb\u4f55DNS\u670d\u52a1\u5668\uff0cDNS\u67e5\u627e\u5c06\u5931\u8d25\u3002<\/li>\n<\/ul>\n<h4 id=\"allow-dns-server-list-to-be-overridden-by-dhcp-option\" style=\"text-align: justify;\">\u5141\u8bb8DNS\u670d\u52a1\u5668\u5217\u8868\u88abDHCP\u8986\u76d6<\/h4>\n<p style=\"text-align: justify;\">\u8be5\u9009\u9879\u6539\u53d8\u4e86OPNsense\u3001Unbound DNS\u548cDHCP\u5ba2\u6237\u7aef\u6267\u884c\u7684DNS\u67e5\u627e\u7684\u884c\u4e3a\u3002\u542f\u7528\u8be5\u9009\u9879\u540e\uff0c\u5982\u679c\u586b\u5199\u4e86DNS\u5217\u8868\uff0c\u5b83\u4ecd\u7136\u4f7f\u7528DNS\u5217\u8868\u4e2d\u5217\u51fa\u7684\u670d\u52a1\u5668\u3002\u5982\u679c\u6ca1\u6709\u5728\u5217\u8868\u4e2d\u6307\u5b9a\u4efb\u4f55DNS\u670d\u52a1\u5668\uff0c\u5b83\u53ea\u4f1a\u4f7f\u7528WAN\u63a5\u53e3\u63d0\u4f9b\u7684DNS\u670d\u52a1\u5668\u3002<\/p>\n<h4 id=\"do-not-use-the-local-dns-service-as-a-nameserver-for-the-system-option\" style=\"text-align: justify;\">\u672c\u5730DNS\u670d\u52a1\u4e0d\u4f5c\u4e3a\u8be5\u7cfb\u7edf\u7684\u57df\u540d\u670d\u52a1\u5668<\/h4>\n<p style=\"text-align: justify;\">\u542f\u7528Unbound DNS\u65f6\uff0cOPNsense\u7cfb\u7edf\u9ed8\u8ba4\u5305\u542b\u4e3a\u7b2c\u4e00\u4e2aDNS\u670d\u52a1\u5668\uff0c\u8fd9\u610f\u5473\u7740OPNsense\u7cfb\u7edf\u5c06\u4f7f\u7528Unbound DNS\u670d\u52a1\u8fdb\u884cDNS\u67e5\u8be2\u3002\u5982\u679c\u5728DNS\u670d\u52a1\u5668\u5217\u8868\u4e2d\u6307\u5b9a\u4e86\u670d\u52a1\u5668\uff0c\u5e76\u4e14\u542f\u7528\u4e86\u201c\u5141\u8bb8DNS\u670d\u52a1\u5668\u5217\u8868\u88abWAN\u4e0a\u7684DHCP\/PPP\u8986\u76d6\u201d\u9009\u9879\uff0c\u5219\u8fd9\u4e9bDNS\u670d\u52a1\u5668\u4e5f\u5c06\u4f7f\u7528127.0.0.1\u3002\u5982\u679c\u5e0c\u671bOPNsense\u7cfb\u7edf\u4ec5\u4f7f\u7528\u5217\u8868\u4e2d\u7684DNS\u670d\u52a1\u5668\u548c\/\u6216WAN\u63a5\u53e3\u4e0aDHCP\u63d0\u4f9b\u7684DNS\u670d\u52a1\u5668\uff0c\u53ef\u4ee5\u9009\u4e2d\u8be5\u9009\u9879\uff0c\u8fd9\u4f1a\u963b\u6b62 OPNsense\u7cfb\u7edf\u4f7f\u7528Unbound DNS\u670d\u52a1\u8fdb\u884cDNS\u67e5\u8be2\uff08\u800c\u672c\u5730\u7f51\u7edc\u7684\u5176\u4f59\u90e8\u5206\u5c06\u4f7f\u7528Unbound DNS\u670d\u52a1\uff09\u3002<\/p>\n<h2 id=\"services--dhcpv4--interface\" style=\"text-align: justify;\">DHCP\u8bbe\u7f6e<\/h2>\n<p style=\"text-align: justify;\">\u5728ISC DHCPv4\uff08\u6216 DHCPv6\uff09\u63a5\u53e3\u9875\u9762\uff0c\u53ef\u4ee5\u4e3a\u7279\u5b9a\u7f51\u7edc\u8bbe\u7f6eDNS\u670d\u52a1\u5668\u3002\u5982\u679c\u5e0c\u671b\u4e3a\u4e00\u4e2a\u6216\u591a\u4e2a\u672c\u5730\u7f51\u7edc\u4f7f\u7528\u4e0d\u540c\u7684DNS\u670d\u52a1\u5668\uff0c\u53ef\u4ee5\u5728 DHCPv4\uff08\u6216 DHCPv6\uff09\u63a5\u53e3\u9875\u9762\u6307\u5b9a\u3002<\/p>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u6b64DNS\u914d\u7f6e\u7684\u4e00\u4e2a\u539f\u56e0\u662f\u5728\u7f51\u7edc\u4e0a\u4f7f\u7528\u5907\u7528DNS\u670d\u52a1\u5668\uff0c\u4f8b\u5982Pi-hole DNS\u670d\u52a1\u5668\u3002\u53ef\u4ee5\u4f7f\u7528DHCP\u670d\u52a1\u5206\u914d\u5907\u7528DNS\u670d\u52a1\u5668\uff0c\u56e0\u4e3a\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u542f\u7528Unbound DNS\u65f6\uff0c\u6240\u6709DHCP\u5ba2\u6237\u7aef\u90fd\u4f1a\u63a5\u6536\u63a5\u53e3IP\u5730\u5740\u4f5c\u4e3a\u6bcf\u4e2a\u7f51\u7edc\u7684DNS\u670d\u52a1\u5668\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/03\/PixPin_2025-03-29_11-38-19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14652\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/03\/PixPin_2025-03-29_11-38-19.png\" alt=\"\" width=\"1964\" height=\"416\" \/><\/a><\/p>\n<h2 id=\"services--unbound-dns--dns-over-tls\" style=\"text-align: justify;\">DNS over TLS<\/h2>\n<p id=\"services--unbound-dns--dns-over-tls\" style=\"text-align: justify;\">\u670d\u52a1&gt;Unbound DNS&gt;DoT\uff0cUnbound DNS\u53ef\u4ee5\u914d\u7f6eDNS over TLS\u6765\u52a0\u5bc6 DNS \u67e5\u627e\u3002\u5982\u679c\u5728\u201c\u7cfb\u7edf&gt;\u8bbe\u7f6e&gt;\u5e38\u89c4\u201d\u9875\u9762\u4e0a\u6307\u5b9a\u4e86DNS\u670d\u52a1\u5668\uff0c\u6216\u8005\u542f\u7528\u4e86\u201c\u5141\u8bb8 DNS \u670d\u52a1\u5668\u5217\u8868\u88abWAN\u4e0a\u7684DHCP\/PPP\u8986\u76d6\u201d\u9009\u9879\uff0cOPNsense\u7cfb\u7edf\u5c06\u4f7f\u7528\u6240\u6709\u914d\u7f6e\u7684DNS\u670d\u52a1\u5668\u3002\u5982\u679c\u5e0c\u671b\u52a0\u5bc6\u6240\u6709\u4f20\u51fa\u7684DNS\u67e5\u627e\uff0c\u5219\u9700\u8981\u5c06DNS\u670d\u52a1\u5668\u5217\u8868\u7559\u7a7a\uff0c\u5e76\u4e14\u4e0d\u8981\u542f\u7528\u201c\u5141\u8bb8DNS\u670d\u52a1\u5668\u5217\u8868\u88abWAN\u4e0a\u7684DHCP\/PPP \u8986\u76d6\u201d\u9009\u9879\u3002<\/p>\n<div class=\"notice warning\" style=\"text-align: justify;\">\n<div class=\"notice-body\">\n<p>\u867d\u7136\u6765\u81eaOPNsense\u7cfb\u7edf\u548c\u6240\u6709\u4f7f\u7528Unbound DNS\u670d\u52a1\u7684\u5ba2\u6237\u7aef\u7684\u6240\u6709DNS\u67e5\u627e\u90fd\u5c06\u88ab\u52a0\u5bc6\uff0c\u4f46\u67d0\u4e9b\u8bbe\u5907\u6216\u5e94\u7528\u7a0b\u5e8f\u4ecd\u6709\u53ef\u80fd\u4f7f\u7528\u81ea\u5df1\u7684DNS over TLS\u6216 DNS over HTTPS\u6765\u67e5\u8be2\uff0c\u56e0\u6b64\u8fd9\u4e9b\u67e5\u8be2\u4e0d\u4f1a\u4f7f\u7528\u914d\u7f6e\u7684DNS\u670d\u52a1\u5668\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/03\/PixPin_2025-03-29_11-43-33.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14654\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/03\/PixPin_2025-03-29_11-43-33.png\" alt=\"\" width=\"2478\" height=\"776\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h2>\u67e5\u8be2\u8f6c\u53d1<\/h2>\n<p id=\"services--unbound-dns--query-forwarding\" style=\"text-align: justify;\">\u670d\u52a1&gt;Unbound DNS&gt;\u67e5\u8be2\u8f6c\u53d1\uff0c\u542f\u7528\u67e5\u8be2\u8f6c\u53d1\u5c06\u5141\u8bb8\u5728\u7b2c\u4e8c\u4e2a\u8def\u7531\u5668\u540e\u9762\u8fdb\u884c\u672c\u5730\u4e3b\u673a\u540d\u89e3\u6790\uff0c\u540c\u65f6\u5c06DNS\u67e5\u8be2\u4e0a\u6e38\u8f6c\u53d1\u5230\u4e3b\u7f51\u7edc\u3002\u5982\u679c\u5728\u4e3b\u8def\u7531\u5668\u540e\u9762\u7684\u8def\u7531\u5668\u4e0a\u8fdb\u884cDNS\u67e5\u627e\u65f6\u9047\u5230\u95ee\u9898\uff0c\u5e76\u4e14\u4e0d\u9700\u8981\u4e3a\u8fde\u63a5\u5230\u7b2c\u4e8c\u4e2a\u8def\u7531\u5668\u7684\u7f51\u7edc\u8fdb\u884c\u4efb\u4f55\u9ad8\u7ea7DNS\u914d\u7f6e\uff0c\u5219\u53ef\u80fd\u9700\u8981\u4f7f\u7528\u6b64\u9009\u9879\u3002<\/p>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/03\/PixPin_2025-03-29_12-05-10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14655\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2025\/03\/PixPin_2025-03-29_12-05-10.png\" alt=\"\" width=\"2488\" height=\"784\" \/><\/a><\/p>\n<h2 id=\"conclusion\" style=\"text-align: justify;\">\u7ed3\u8bba<\/h2>\n<p>OPNsense\u7684DNS\u914d\u7f6e\u4f53\u7cfb\u517c\u5177\u7075\u6d3b\u6027\u4e0e\u590d\u6742\u6027\uff0c\u7528\u6237\u9700\u660e\u786e\uff1a<\/p>\n<ol>\n<li>\u662f\u5426\u4f9d\u8d56\u9012\u5f52\u89e3\u6790\uff08Unbound\uff09<\/li>\n<li>\u662f\u5426\u9700\u8981\u52a0\u5bc6\u4f20\u8f93\uff08DoT\uff09<\/li>\n<li>\u591a\u7f51\u7edc\u73af\u5883\u4e0b\u7684DNS\u5206\u53d1\u7b56\u7565<\/li>\n<\/ol>\n<p>\u901a\u8fc7\u6a21\u5757\u5316\u7ec4\u5408\u914d\u7f6e\uff0c\u53ef\u4ee5\u7cbe\u51c6\u9002\u914d\u5bb6\u5ead\u7f51\u7edc\u548c\u4f01\u4e1a\u7ea7\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OPNsense\u4e2d\u6709\u5f88\u591aDNS\u914d\u7f6e\u9009\u9879\uff0c\u4e00\u4e9b\u9009\u9879\u9002\u7528\u4e8eOPNsense\u672c\u8eab\uff0c\u800c\u5176 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=14635\">\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":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[153],"class_list":["post-14635","post","type-post","status-publish","format-standard","hentry","category-opnsense","tag-dns"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/14635","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=14635"}],"version-history":[{"count":10,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/14635\/revisions"}],"predecessor-version":[{"id":14657,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/14635\/revisions\/14657"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}