介绍一下免特殊手段、让 Native Access 2 正常访问的方法。
该方法要求系统本身支持「DNS over HTTPS」。
将系统的全局 DNS 设为「
https://doh.pub/dns-query」即可(这是腾讯 DNSPod,不是梯子)。
原理:有时候,无法访问,并非有关部门的意志,而是当地电信业者擅自的 DNS 污染。
注:Windows 可能要求至少晚期版本的 Windows 10 才支持这个设定。
macOS 的话,要求至少 macOS 11,且需要撰写特制的描述档、才能让系统读入 DNS over HTTPS 的设定。
描述档正文如下:
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- <plist version="1.0">
- <dict>
- <key>PayloadContent</key>
- <array>
- <dict>
- <key>DNSSettings</key>
- <dict>
- <key>DNSProtocol</key>
- <string>HTTPS</string>
- <key>ServerAddresses</key>
- <array>
- <string>162.14.21.56</string>
- <string>162.14.21.178</string>
- </array>
- <key>ServerURL</key>
- <string>[url=https://doh.pub/dns-query</string]https://doh.pub/dns-query</string>[/url]
- </dict>
- <key>PayloadDescription</key>
- <string>Configures device to use DNSPod Encrypted DNS over HTTPS</string>
- <key>PayloadDisplayName</key>
- <string>DNSPod over HTTPS</string>
- <key>PayloadIdentifier</key>
- <string>com.apple.dnsSettings.managed.C498EC0C-EF6C-44F0-BFB7-0000658B99AC</string>
- <key>PayloadType</key>
- <string>com.apple.dnsSettings.managed</string>
- <key>PayloadUUID</key>
- <string>065AB183-5E34-4794-9BEB-B5327CF61F27</string>
- <key>PayloadVersion</key>
- <integer>1</integer>
- <key>ProhibitDisablement</key>
- <false/>
- </dict>
- </array>
- <key>PayloadDescription</key>
- <string>Adds the DNSPod to Big Sur and iOS 14 based systems</string>
- <key>PayloadDisplayName</key>
- <string>DNSPod over HTTPS</string>
- <key>PayloadIdentifier</key>
- <string>com.paulmillr.apple-dns</string>
- <key>PayloadRemovalDisallowed</key>
- <false/>
- <key>PayloadType</key>
- <string>Configuration</string>
- <key>PayloadUUID</key>
- <string>030E6D6F-69A2-4515-9D77-99342CB9AE76</string>
- <key>PayloadVersion</key>
- <integer>1</integer>
- </dict>
- </plist>
复制代码
存档为「dnspod-https.mobileconfig」,双击读入 macOS 系统即可。
本帖最后由 ShikiSuen 于 23-3-17 22:13 编辑