Telegram Proxies and DNS Leaks: What to Know
A proxy hides your traffic, but DNS lookups can leak metadata. Here is how Telegram handles it.
What is a DNS leak?
When your phone or computer needs to reach an internet host, it first asks a DNS server for the IP address. By default, this DNS query goes to your ISP's DNS server in plaintext. Even with a fully encrypted application connection, the DNS query reveals which hostnames you are looking up. This is called a "DNS leak".
How Telegram handles DNS
Telegram's clients hardcode IP addresses for the data centres rather than relying on DNS. This means once Telegram is connected, it does not do DNS lookups for telegram.org or related hostnames. Any leaks are limited to the initial app launch.
Get a free TGFast proxy
Browse the live country grid on the home page and tap any card to connect Telegram in one second — no signup, no logs.
Open the fleetHow TGFast handles DNS
When you add a TGFast proxy via tg://link, Telegram does need to resolve our hostname (e.g. your TGFast card hostname) once at startup. This DNS lookup goes through your normal DNS server. So your ISP can see "this user looked up your TGFast card hostname". After that, all traffic is encrypted MTProto.
Eliminating the DNS leak
Use DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT) to encrypt your DNS queries. On iOS: Settings → General → VPN & Device Management → DNS → Cloudflare or NextDNS. On Android: Settings → Network → Private DNS → cloudflare-dns.com. After enabling DoH, even your initial proxy hostname lookup is hidden from your ISP.
Stay updated
Join @FastTGProxyMT for instant alerts when servers move or new proxies launch.
Join Telegram ChannelUsing TGFast IPs directly
For maximum privacy, you can configure TGFast in Telegram using IP addresses instead of hostnames. Email support@tgfast.top to receive the current IPs for each server. The downside: when we rotate IPs, your config will need updating manually. We recommend hostname + DoH instead.
WebRTC leaks (desktop)
Telegram Desktop's built-in voice/video calls use WebRTC, which can leak your real IP via STUN/TURN. The proxy covers MTProto signaling but the media stream may go directly. To prevent this, disable "P2P calls" in Telegram Desktop settings — calls will route through Telegram's servers via the proxy instead. Latency is slightly higher (typically 20-50 ms) but no IP leak.
Threat model summary
Without the proxy: ISP sees Telegram traffic patterns, channels you read (via packet sizes), all metadata. With the proxy + DoH: ISP sees only that you connected to a single non-Telegram hostname. With proxy + DoH + Secret Chats: even Telegram's servers cannot read your sensitive messages.