由于相关政策和法律法规,只给出简要参考

DNS分流-客户端调整配置参考

"dns": {

   "servers": [
     {
       "address": "【DNS-IP】",
       "port": 【DNS端口】,
       "domains": [
         "geosite:cn"
       ],
       "expectIPs": [
         "geoip:cn"
       ]
     },
     {
       "address": "【DNS-IP】",
       "port": 【DNS端口】,
       "domains": [
         "geosite:geolocation-!cn",
         "geosite:speedtest",
         "domain:xxxx.com"
       ]
     },
     "1.1.1.1",
     "localhost"
   ]

 }

DOH-配置参考

客户端使用 https 模式+服务端使用 https+local 模式=无UDP的DNS

 "dns": {
   "servers": [
     "https+local://1.1.1.1/dns-query",
     "localhost"
   ]
 }

点击数:43