Loyalsoldier / v2ray-rules-dat

🦄 🎃 👻 V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat 和 geosite.dat,适用于 V2Ray、Xray-core、mihomo(Clash-Meta)、hysteria、Trojan-Go 和 leaf。Enhanced edition of V2Ray rules dat files, applicable to V2Ray, Xray-core, mihomo(Clash-Meta), hysteria, Trojan-Go and leaf.
GNU General Public License v3.0
15.24k stars 1.85k forks source link

dns pass #305

Closed AidinShekari closed 1 year ago

AidinShekari commented 1 year ago

Hello how i can just pass for example spotify.com and discord.com through dns and other connections normal!

Loyalsoldier commented 1 year ago

If you are using V2Ray v4, set DNS configuration like this:

{
  "dns": {
    "servers": [
      "114.114.114.114",
      "119.29.29.29",
      "223.5.5.5",
      {
        "address": "1.1.1.1",
        "port": 53,
        "domains": ["domain:spotify.com", "domain:discord.com"]
      }
    ]
  }
}