Details
Duplicate of #4661 Duplicate of
> As i expected :
>
> ```
>
> [Warning] core: Xray 1.6.6 started
>
> [Info] [1797439682] proxy/socks: TCP Connect request to tcp:iran.ir:80
>
> [Info] [1797439682] app/dispatcher: sniffed domain: iran.ir
>
> [Info] [1797439682] app/dispatcher: taking detour [direct] for [tcp:iran.ir:80]
>
> [Info] [1797439682] proxy/freedom: opening connection to tcp:iran.ir:80
>
> tcp:127.0.0.1:39470 accepted tcp:iran.ir:80 [socks -> direct]
>
> Not Using Prepared: udp,192.168.1.1:53
>
> DNS accepted udp:192.168.1.1:53 [xray.system.37227d46-734e-426f-804c-16126094dad4 -> direct]
>
> [Debug] app/dns: domain iran.ir matches following rules: [domain:ir(DNS idx:1)]
>
> [Debug] app/dns: domain iran.ir will use DNS in order: [UDP:192.168.1.1:53 UDP:1.1.1.1:53]
>
> [Debug] app/dns: UDP:192.168.1.1:53 querying DNS for: iran.ir.
>
> [Debug] transport/internet/udp: dispatch request to: udp:192.168.1.1:53
>
> [Info] transport/internet/udp: establishing new connection for udp:192.168.1.1:53
>
> [Debug] transport/internet/udp: dispatch request to: udp:192.168.1.1:53
>
> [Info] app/dispatcher: taking detour [direct] for [udp:192.168.1.1:53]
>
> [Info] proxy/freedom: opening connection to udp:192.168.1.1:53
>
> [Info] app/dns: UDP:192.168.1.1:53 got answer: iran.ir. TypeA -> [185.143.234.120 185.143.233.120] 46.718385ms
>
> [Debug] app/dns: UDP:192.168.1.1:53 updating IP records for domain:iran.ir.
>
> [Info] app/dns: UDP:192.168.1.1:53 got answer: iran.ir. TypeAAAA -> [] 81.924583ms
>
> [Debug] app/dns: UDP:192.168.1.1:53 updating IP records for domain:iran.ir.
>
> ```
>
> **[Info] app/dns: failed to lookup ip for domain iran.ir at server UDP:192.168.1.1:53 > expectIPs not match**
>
> ```
>
> [Debug] app/dns: UDP:1.1.1.1:53 querying DNS for: iran.ir.
>
> [Debug] transport/internet/udp: dispatch request to: udp:1.1.1.1:53
>
> [Info] transport/internet/udp: establishing new connection for udp:1.1.1.1:53
>
> [Debug] transport/internet/udp: dispatch request to: udp:1.1.1.1:53
>
> [Info] app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53]
>
> [Info] transport/internet/grpc: creating connection to tcp:104.21.86.3:2053
>
> DNS accepted udp:1.1.1.1:53 [xray.system.37227d46-734e-426f-804c-16126094dad4 -> proxy]
>
> Using Prepared: 104.21.86.3
>
> [Info] proxy/vless/outbound: tunneling request to udp:1.1.1.1:53 via 104.21.86.3:2053
>
> [Info] app/dns: UDP:1.1.1.1:53 got answer: iran.ir. TypeA -> [185.143.233.120 185.143.234.120] 791.012187ms
>
> [Debug] app/dns: UDP:1.1.1.1:53 updating IP records for domain:iran.ir.
>
> Not Using Prepared: tcp,185.143.233.120:80
>
> [Info] app/dns: UDP:1.1.1.1:53 got answer: iran.ir. TypeAAAA -> [] 808.51401ms
>
> [Debug] app/dns: UDP:1.1.1.1:53 updating IP records for domain:iran.ir.
>
> [Info] [1797439682] proxy/freedom: dialing to tcp:185.143.233.120:80
>
> [Info] [1797439682] transport/internet/tcp: dialing TCP to tcp:185.143.233.120:80
>
> [Info] [1797439682] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
>
>
>
> ```
Originally posted by @pulsarice in #1865
Details
Duplicate of #4661 Duplicate of
Originally posted by @pulsarice in #1865