各位,为什么这个 sing-box 配置 dns 不行,打开网页总是说查不到网址? dns 部分的配置请见内。

查看 18|回复 0
作者:busuzhike   
"dns": {
"servers": [
  {
    "tag": "proxyDns",
    "address": "8.8.8.8",
    "detour": "proxy"
  },
  {
    "tag": "localDns",
    "address": "https://223.5.5.5/dns-query",
    "detour": "direct"
  },
  {
    "tag": "block",
    "address": "rcode://success"
  },
  {
    "tag": "remote",
    "address": "fakeip"
  }
],
"rules": [
  {
    "domain": [
      "ghproxy.com",
      "cdn.jsdelivr.net",
      "testingcf.jsdelivr.net"
    ],
    "server": "localDns"
  },
  {
    "geosite": "category-ads-all",
    "server": "block"
  },
  {
    "outbound": "any",
    "server": "localDns",
    "disable_cache": true
  },
  {
    "geosite": "cn",
    "server": "localDns"
  },
  {
    "clash_mode": "direct",
    "server": "localDns"
  },
  {
    "clash_mode": "global",
    "server": "proxyDns"
  },
  {
    "geosite": "geolocation-!cn",
    "server": "proxyDns"
  },
  {
    "query_type": [
      "A",
      "AAAA"
    ],
    "server": "remote"
  }
],
"fakeip": {
  "enabled": true,
  "inet4_range": "198.18.0.0/15",
  "inet6_range": "fc00::/18"
},
"independent_cache": true,
"strategy": "ipv4_only"
},
您需要登录后才可以回帖 登录 | 立即注册

返回顶部