Hello!
For organization of DNS hijacking I want to make routing [dns-in] >> [dns-out] outbound, where [dns-in] is internal dns server of x-ray.
` {
"listen": "127.0.0.1",
"port": 10853,
"protocol": "dokodemo-door",
"settings": {
"address": "1.1.1.1",
"network": "tcp,udp",
"port": 53
},
"tag": "dns-in"
}`
So I'm going to app settings and replace default 1.1.1.1 to 127.0.0.1 and default ipv6 for cloudflare to ::1. After that application is crashing when I'm trying to start VPN.
Same dns hijacking logic is realized in v2rayng.
> You can't set the tun dns address in settings to `127.0.0.1` In the routing rules add [port 53] >> [proxy]
Guess you mean [dns-out] instead of [proxy], because I need to use internal x-ray dns server (doh is configured in my config).
```
{
"inboundTag": [
"socks"
],
"port": "53",
"outboundTag": "dns-out"
},
```