Skip to main content

Site behind the tunnel only partially loads

Symptomsโ€‹

  • The HTML and API requests arrive in full, but JS bundles, CSS and images cut off or load forever.
  • In the browser's developer tools, requests hang as pending or fail with ERR_CONNECTION_RESET or ERR_HTTP2_PROTOCOL_ERROR.
  • The site breaks for one visitor but opens for another, or for the same visitor with a different DNS.

Meanwhile, everything looks fine in the tuna inspector: the app sent the full response.

Causeโ€‹

GeoDNS sends each visitor to the Russian or the European entry point. It determines the country not from the visitor's address but from the address of their DNS resolver. If the resolver is outside Russia and doesn't pass the client subnet, a visitor from Russia lands on the European entry point. On the way, many Russian ISPs cut connections to foreign hosting after roughly 16โ€“20 KB of data, so small responses get through and large ones don't.

The reverse also happens: a VPN exits abroad, but DNS queries bypass the VPN and go to a Russian resolver. GeoDNS then returns the Russian entry point, and traffic to it goes through the VPN's foreign exit.

For details, diagrams and the results of our resolver tests, see the post "Site behind a tunnel won't load? Check your DNS resolver".

Diagnosisโ€‹

Ask DNS where it points the tunnel zone:

nslookup a.2na.am
a.2na.am canonical name = edge-ru-a.2na.am.
  • edge-ru-a.2na.am is the Russian entry point;
  • edge-eu-a.2na.am is the European one.

If you're in Russia without a VPN and see edge-eu-a, the resolver is a poor choice. If you're on a VPN with a foreign exit and see edge-ru-a, DNS queries bypass the VPN. tuna diagnose shows the same answer in its DNS section.

nslookup queries the system resolver. If secure DNS is enabled in the browser, the browser resolves names itself and may get a different answer.

Fixโ€‹

In Russia without a VPN, use your ISP's DNS or a public resolver that lets GeoDNS see Russia:

ResolverPlain DNSDNS-over-HTTPS
Yandex DNS77.88.8.8, 77.88.8.1https://common.dot.dns.yandex.net/dns-query
Google Public DNS8.8.8.8, 8.8.4.4https://dns.google/dns-query
Quad9 with ECS9.9.9.11, 149.112.112.11https://dns11.quad9.net/dns-query

Cloudflare, regular Quad9 (9.9.9.9), OpenDNS, NextDNS and other resolvers that don't pass the subnet may send you to the European entry point.

With a VPN, make sure DNS queries go through the VPN. With split tunneling, DNS may go to your ISP directly.

Secure DNS in the browser:

  • Chrome and Edge: Settings โ†’ Privacy and security โ†’ Security โ†’ Use secure DNS;
  • Firefox: Settings โ†’ Privacy & Security โ†’ DNS over HTTPS.

Choose Google Public DNS there, enter an address from the table, or turn secure DNS off. On Android, Private DNS in the network settings does the same.

Don't pin entry point addresses in /etc/hosts or curl --resolve: they change, and a pinned address will stop working at some point.

If DNS is fine but the site still loads only partially, contact support and attach the output of tuna diagnose and nslookup a.2na.am.