Всем привет, не могу понять как настроить резолв днс через прокси. Получается запустить только через гугл днс 8.8.8.8. Сталкивалсяя кто-нибудь с этим?
{
"log": {
"level": "info"
},
"dns": {
"servers": [
{
"tag": "dns-remote",
"address": "tls://8.8.8.8",
"detour": "proxy"
},
{
"tag": "dns-direct",
"address": "local",
"detour": "direct"
},
{
"tag": "dns-block",
"address": "rcode://success"
},
{
"tag": "dns-local",
"address": "local",
"detour": "direct"
}
]
},
"inbounds": [
{
"type": "mixed",
"tag": "mixed-in",
"listen": "127.0.0.1",
"listen_port": 2080
},
{
"type": "tun",
"tag": "tun-in",
"interface_name": "utun9",
"stack": "gvisor",
"auto_route": true,
"strict_route": true,
"address": [
"172.19.0.1/24",
"fdfe:dcba:9876::1/96"
],
"mtu": 1420
}
],
"outbounds": [
{
"type": "socks",
"tag": "proxy",
"server": "1",
"server_port": 1,
"username": "1",
"password": "1",
"domain_strategy": "ipv4_only"
},
{
"type": "direct",
"tag": "direct"
}
],
"route": {
"auto_detect_interface": true,
"final": "proxy",
"find_process": false,
"rules": [
{
"ip_cidr": [
"161.35.226.216/32"
],
"outbound": "direct"
},
{
"action": "sniff",
"inbound": [
"mixed-in",
"tun-in"
]
},
{
"action": "hijack-dns",
"protocol": "dns"
}
]
}
}