V2ray Slow Dns Server -
"My V2Ray connection is unbearably slow."
The V2Ray server was using Google's public DNS ( 8.8.8.8 ). The server was in Frankfurt. The client was in Sydney.
geosite:cn alone contains over 80,000 domains. Loading this into memory takes CPU cycles. v2ray slow dns server
Speed is measured in milliseconds. Efficiency is measured in configurations. Fix your DNS, fix your world.
Instead of:
timedatectl set-ntp true apt install chrony -y systemctl restart chrony Check your time sync:
port=5353 listen-address=127.0.0.1 cache-size=10000 server=1.1.1.1 server=8.8.8.8 In your V2Ray config: "My V2Ray connection is unbearably slow
"dns": { "servers": [ "127.0.0.1:5353", "1.1.1.1", "8.8.8.8" ] } Why this works: The first query to google.com hits 127.0.0.1:5353 . Dnsmasq fetches it (slow once), caches it. Subsequent queries take ~1ms. If your ISP or VPS provider throttles UDP DNS, switch to DNS-over-HTTPS (DoH). V2Ray natively supports DoH.