V2ray Slow Dns Server May 2026
"dns":
"queryStrategy": "UseIPv4"
This prevents waiting for AAAA record timeouts.
dig @1.1.1.1 google.com +tcp +timeout=2
grep "resolve" /var/log/v2ray/access.log v2ray slow dns server
For every outbound connection initiated by an application through V2Ray: "dns": "queryStrategy": "UseIPv4"
Equation:
Total latency = DNS_RTT + (proxy_handshake_RTT * proxy_hops) This prevents waiting for AAAA record timeouts
If DNS_RTT = 500ms (common for overloaded or remote servers), every new domain connection suffers a minimum 0.5s penalty, regardless of proxy speed.
V2Ray includes an internal DNS module (dns object in config). Its behavior depends on the configuration: