id: e68cb4959ca643409d720c84dfd58bba
parent_id: 
item_type: 1
item_id: 94255c4f3af0437e9d94cef7c29484da
item_updated_time: 1764345471986
title_diff: "[{\"diffs\":[[1,\"使用 Clash DNS 分流解析与加密 DNS 防止 DNS 劫持 - xkww3n's\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":45}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>使用 Clash DNS 分流解析与加密 DNS 防止 DNS 劫持 - xkww3n's site</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"5950\\\"></a>\\\r\\\n<h1>使用 Clash DNS 分流解析与加密 DNS 防止 DNS 劫持 - xkww3n's site</h1>\\\r\\\n\\\r\\\n<div><span>\\\n  <div style=\\\"--en-clipped-content:article; --en-clipped-source-url:https://www.xkww3n.cyou/2022/02/08/use-clash-dns-anti-dns-hijacking/; --en-clipped-source-title:使用 Clash DNS 分流解析与加密 DNS 防止 DNS 劫持 - xkww3n's site;\\\">\\\n<div><br/></div><div style=\\\"min-height: 1329px; font-size: 16px; display: block; min-width: 100%; position: relative;\\\"> <div style=\\\"font-size:16px;letter-spacing:0.02em;overflow-wrap:break-word;box-sizing:border-box;font-family:sans-serif;line-height:1.15;text-size-adjust:100%;-webkit-tap-highlight-color:transparent;\\\"><div style=\\\"overflow-wrap:break-word;transition:color 0.2s ease-in-out 0s, background-color 0.2s ease-in-out 0s;-webkit-font-smoothing:antialiased;box-sizing:border-box;font-family:-apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;;font-size:16px;font-weight:400;line-height:1.5;color:rgb(33, 37, 41);text-align:left;background-color:rgb(255, 255, 255);\\\"><span style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;background-color:rgb(255, 255, 255);transition:background-color 0.2s ease-in-out 0s;border-radius:8px;box-shadow:rgba(0, 0, 0, 0.24) 0px 12px 15px 0px, rgba(0, 0, 0, 0.19) 0px 17px 50px 0px;\\\"><div style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;text-size-adjust:100%;color:rgb(36, 41, 46);font-family:-apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;;font-size:16px;line-height:1.5;overflow-wrap:break-word;\\\"><span style=\\\"color:rgb(36, 41, 46);font-family:-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;font-size:16px;line-height:1.5;display:table;\\\"></span>\\\n              <p style=\\\"box-sizing:border-box;margin-bottom:16px;margin-top:0px;\\\">众所周知，现在各地的民用宽带运营商都开始将部分网站流量劫持到国家反诈中心的拦截页。目前各地的实现方式都是 DNS 劫持，包括但不限于抢答未加密 DNS。而要想预防这种情况，最好的方式当然是使用加密 DNS 技术，如 DoH, DoT 和方兴未艾的 DoQ. 但就存在两个问题：服务可用性，以及操作系统兼容性。中国对于海外的加密 DNS 服务一律阻断，而国内的服务总是存在一定的污染，且不同的操作系统对加密 DNS 服务的兼容性也不尽相同。网上也有使用 Dnsmasq 等服务自建本地 DNS，根据域名分流 DNS 解析的方法，但对我而言，我并没有能够不间断运转的电脑，这种方式显然不适合我。后来我在翻 Clash 项目的 GitHub Wiki 时发现，Clash 本身就提供和 Dnsmasq 类似的功能，用于分流解析。配置的过程还是一如既往地踩了很多坑，所以还是写一篇文章记录一下。</p>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;margin-bottom:16px;\\\">首先，打开你的 Clash 配置文件（如果你使用 Clash for Windows 或 Clash for Android, 可以使用软件自带的“覆写/Mixin”功能），添加以下段落：</p>\\\n<div style=\\\"box-sizing:border-box;position:relative;border-radius:3px;\\\"><pre style=\\\"display:block;box-sizing:border-box;border-radius:3px;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;color:rgb(204, 204, 204);overflow-wrap:normal;line-height:1.5;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;tab-size:4;hyphens:none;overflow:auto;padding:1em;margin:0.5em 0px;background:rgb(45, 45, 45);position:relative;padding-left:3.8em;font-size:85%;\\\"><code style=\\\"overflow-x:auto;box-sizing:border-box;border-radius:3px;padding:0px;margin:0px;border:0px;display:inline;overflow:visible;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;font-size:1em;color:rgb(204, 204, 204);word-break:normal;background:0px 0px;text-align:left;word-spacing:normal;tab-size:4;hyphens:none;overflow-wrap:normal;line-height:inherit;position:relative;white-space:inherit;\\\"><span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">dns</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n  <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">enable</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span> <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);font-weight:700;\\\">true</span>\\\n  <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">listen</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span> 0.0.0.0<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span><span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">53</span><span style=\\\"box-sizing:border-box;position:absolute;pointer-events:none;top:0px;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid rgb(153, 153, 153);user-select:none;\\\"><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">4</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">8</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">12</span></span></span></code></pre></div>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;margin-bottom:16px;\\\">这一段的意思是启用 Clash 的 DNS 服务并让其在 53 端口（这是绝大多数操作系统将 DNS 解析报文发送到的端口）监听来自任意网络界面的 DNS 请求。如果你的设备并不需要向其他设备提供解析服务，或你的设备常常需要接入不安全的网络（如手机，笔记本电脑），应当将第三行的 <code style=\\\"color:rgb(232, 62, 140);overflow-wrap:break-word;box-sizing:border-box;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, monospace;font-size:85%;padding:0.2em 0.4em;margin:0px;background-color:rgba(27, 31, 35, 0.05);border-radius:3px;\\\">0.0.0.0:53</code> 改为 <code style=\\\"color:rgb(232, 62, 140);overflow-wrap:break-word;box-sizing:border-box;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, monospace;font-size:85%;padding:0.2em 0.4em;margin:0px;background-color:rgba(27, 31, 35, 0.05);border-radius:3px;\\\">127.0.0.1:53</code> 让 Clash 仅监听本机的 DNS 解析报文。</p>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;margin-bottom:16px;\\\">（Clash 默认会同时监听 IPv4 和 IPv6 界面，如果你不需要后者，可以添加一行 <code style=\\\"color:rgb(232, 62, 140);overflow-wrap:break-word;box-sizing:border-box;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, monospace;font-size:85%;padding:0.2em 0.4em;margin:0px;background-color:rgba(27, 31, 35, 0.05);border-radius:3px;\\\">ipv6: false</code>）</p>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;margin-bottom:16px;\\\">由于连接到加密 DNS 服务时，需要解析服务器本身的域名，因此需要指定一些相对干净的国内 <strong style=\\\"box-sizing:border-box;font-weight:600;\\\">明文</strong> DNS 服务器地址。继续添加以下部分（注意缩进）：</p>\\\n<div style=\\\"box-sizing:border-box;position:relative;border-radius:3px;\\\"><pre style=\\\"display:block;box-sizing:border-box;border-radius:3px;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;color:rgb(204, 204, 204);overflow-wrap:normal;line-height:1.5;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;tab-size:4;hyphens:none;overflow:auto;padding:1em;margin:0.5em 0px;background:rgb(45, 45, 45);position:relative;padding-left:3.8em;font-size:85%;\\\"><code style=\\\"overflow-x:auto;box-sizing:border-box;border-radius:3px;padding:0px;margin:0px;border:0px;display:inline;overflow:visible;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;font-size:1em;color:rgb(204, 204, 204);word-break:normal;background:0px 0px;text-align:left;word-spacing:normal;tab-size:4;hyphens:none;overflow-wrap:normal;line-height:inherit;position:relative;white-space:inherit;\\\"><span style=\\\"box-sizing:border-box;color:rgb(153, 153, 153);\\\">#--omitted--</span>\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">default-nameserver</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n   <span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">-</span> 119.29.29.29\\\n   <span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">-</span> 223.5.5.5<span style=\\\"box-sizing:border-box;position:absolute;pointer-events:none;top:0px;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid rgb(153, 153, 153);user-select:none;\\\"><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">4</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">8</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">12</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">16</span></span></span></code></pre></div>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;margin-bottom:16px;\\\">当收到 DNS 解析请求时，Clash 会使用以上 DNS 服务器解析加密 DNS 服务器地址并建立连接。</p>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;margin-bottom:16px;\\\">接下来，指定解析国内域名时使用的加密 DNS 服务器地址：</p>\\\n<div style=\\\"box-sizing:border-box;position:relative;border-radius:3px;\\\"><pre style=\\\"display:block;box-sizing:border-box;border-radius:3px;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;color:rgb(204, 204, 204);overflow-wrap:normal;line-height:1.5;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;tab-size:4;hyphens:none;overflow:auto;padding:1em;margin:0.5em 0px;background:rgb(45, 45, 45);position:relative;padding-left:3.8em;font-size:85%;\\\"><code style=\\\"overflow-x:auto;box-sizing:border-box;border-radius:3px;padding:0px;margin:0px;border:0px;display:inline;overflow:visible;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;font-size:1em;color:rgb(204, 204, 204);word-break:normal;background:0px 0px;text-align:left;word-spacing:normal;tab-size:4;hyphens:none;overflow-wrap:normal;line-height:inherit;position:relative;white-space:inherit;\\\"><span style=\\\"box-sizing:border-box;color:rgb(153, 153, 153);\\\">#--omitted--</span>\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">nameserver</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n   <span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">-</span> https<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>//doh.pub/dns<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">-</span>query\\\n   <span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">-</span> https<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>//dns.alidns.com/dns<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">-</span>query<span style=\\\"box-sizing:border-box;position:absolute;pointer-events:none;top:0px;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid rgb(153, 153, 153);user-select:none;\\\"><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">4</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">8</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">12</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">16</span></span></span></code></pre></div>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;margin-bottom:16px;\\\">Clash 支持 DoH（<code style=\\\"color:rgb(232, 62, 140);overflow-wrap:break-word;box-sizing:border-box;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, monospace;font-size:85%;padding:0.2em 0.4em;margin:0px;background-color:rgba(27, 31, 35, 0.05);border-radius:3px;\\\">https://domain.tld/dns-query</code> 形式） 和 DoT（<code style=\\\"color:rgb(232, 62, 140);overflow-wrap:break-word;box-sizing:border-box;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, monospace;font-size:85%;padding:0.2em 0.4em;margin:0px;background-color:rgba(27, 31, 35, 0.05);border-radius:3px;\\\">tls://domain.tld</code> 形式）两种加密 DNS 协议，不支持 DoQ.（当然也支持在此指定备用的明文 DNS）</p>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;margin-bottom:16px;\\\">然后，指定解析国外域名时使用的加密 DNS 服务器地址，并设置分流规则：</p>\\\n<div style=\\\"box-sizing:border-box;position:relative;border-radius:3px;\\\"><pre style=\\\"display:block;box-sizing:border-box;border-radius:3px;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;color:rgb(204, 204, 204);overflow-wrap:normal;line-height:1.5;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;tab-size:4;hyphens:none;overflow:auto;padding:1em;margin:0.5em 0px;background:rgb(45, 45, 45);position:relative;padding-left:3.8em;font-size:85%;\\\"><code style=\\\"overflow-x:auto;box-sizing:border-box;border-radius:3px;padding:0px;margin:0px;border:0px;display:inline;overflow:visible;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;font-size:1em;color:rgb(204, 204, 204);word-break:normal;background:0px 0px;text-align:left;word-spacing:normal;tab-size:4;hyphens:none;overflow-wrap:normal;line-height:inherit;position:relative;white-space:inherit;\\\"><span style=\\\"box-sizing:border-box;color:rgb(153, 153, 153);\\\">#--omitted--</span>\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">fallback</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n   <span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">-</span> https<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>//1.1.1.1/dns<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">-</span>query\\\n   <span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">-</span> https<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>//dns.google/dns<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">-</span>query\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">fallback-filter</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n   <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">geoip</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span> <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);font-weight:700;\\\">true</span>\\\n   <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">geoip-code</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span> CN\\\n   <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">ipcidr</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n     <span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">-</span> 240.0.0.0/4<span style=\\\"box-sizing:border-box;position:absolute;pointer-events:none;top:0px;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid rgb(153, 153, 153);user-select:none;\\\"><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">4</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">8</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">12</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">16</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">20</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">24</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">28</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">32</span></span><span style=\\\"display:block;box-sizing:border-box;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">36</span></span></span></code></pre></div>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;margin-bottom:16px;\\\">“fallback” 字段指定的 DNS 服务器将被用于解析非国外域名，而 “fallback-filter” 字段则实现我们想要的分流规则——当请求解析的域名在 GeoIP 数据库内的国家代码不是 <code style=\\\"color:rgb(232, 62, 140);overflow-wrap:break-word;box-sizing:border-box;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, monospace;font-size:85%;padding:0.2em 0.4em;margin:0px;background-color:rgba(27, 31, 35, 0.05);border-radius:3px;\\\">CN</code> 时，或是域名在前文设置的 DNS 服务器内的解析结果位于 <code style=\\\"color:rgb(232, 62, 140);overflow-wrap:break-word;box-sizing:border-box;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, monospace;font-size:85%;padding:0.2em 0.4em;margin:0px;background-color:rgba(27, 31, 35, 0.05);border-radius:3px;\\\">240.0.0.0/4</code> 这一 IP 段内时（被屏蔽的域名解析常常会被污染到这一段），使用 “fallback” 字段指定的 DNS 服务器解析域名。</p>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;margin-bottom:0px;\\\">最后，修改系统 DNS 服务器为 <code style=\\\"color:rgb(232, 62, 140);overflow-wrap:break-word;box-sizing:border-box;font-family:SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, monospace;font-size:85%;padding:0.2em 0.4em;margin:0px;background-color:rgba(27, 31, 35, 0.05);border-radius:3px;\\\">127.0.0.1</code> 即可。</p>\\\n\\\n            <span style=\\\"color:rgb(36, 41, 46);font-family:-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;font-size:16px;line-height:1.5;display:table;clear:both;\\\"></span></div></div></div></div></div></div></div></span></div></div></div>\\\n</div>\\\n</span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":18459}]"
metadata_diff: {"new":{"id":"94255c4f3af0437e9d94cef7c29484da","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345824073,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:20:18.742Z
created_time: 2025-11-28T16:20:18.742Z
type_: 13