Всем привет. Снова нужна помощь сообщества. Имеется конфиг
{
"log": {
"level": "info",
"timestamp": false
},
"inbounds": [
{
"type": "tun",
"tag": "tun-in",
"interface_name": "",
"address": "172.18.0.1/30",
"mtu": 9000,
"auto_route": true,
"strict_route": true,
"endpoint_independent_nat": false,
"stack": "mixed"
}
],
"outbounds": [
{
"type": "direct",
"tag": "Direct"
},
{
"tag": "Proxy",
"type": "vless"
}
],
"route": {
"rules": [
{
"action": "sniff",
"inbound": "tun-in"
},
{
"action": "hijack-dns",
"protocol": "dns"
},
{
"action": "reject",
"protocol": "quic"
},
{
"action": "reject",
"rule_set": "geosite-category-ads-all"
},
{
"action": "route",
"rule_set": [
"geosite-youtube"
],
"outbound": "Proxy"
}
],
"rule_set": [
{
"tag": "geosite-youtube",
"type": "remote",
"url": "URL",
"format": "binary",
"download_detour": "Proxy"
},
{
"tag": "geosite-category-ads-all",
"type": "remote",
"url": "URL",
"format": "binary",
"download_detour": "Proxy"
}
],
"auto_detect_interface": true,
"final": "Direct"
},
"dns": {
"servers": [
{
"tag": "local",
"address": "tls://8.8.8.8:853",
"detour": "Direct"
},
{
"tag": "remote",
"address": "tls://one.one.one.one:853",
"address_resolver": "remote-dns-resolver",
"detour": "Proxy"
},
{
"tag": "remote-dns-resolver",
"address": "tls://1.1.1.1:853",
"detour": "Proxy"
}
],
"rules": [
{
"action": "route",
"server": "local",
"outbound": "any"
},
{
"action": "reject",
"rule_set": "geosite-category-ads-all",
"method": "default"
},
{
"action": "route",
"rule_set": [
"geosite-youtube"
],
"server": "remote"
},
{
"action": "route",
"invert": true,
"rule_set": [
"geosite-youtube"
],
"server": "local"
}
],
"final": "local",
"strategy": "ipv4_only"
}
}
Все работает как надо, везде Direct кроме сайтов указанных в rule_set. Но по какой то причине DNS всегда Cloudflare, хотя везде должен быть Google. Не пойму почему так происходит, что только не пробовал, либо DNS Сloudflare либо и Cloud и Гугл. как разделить?