AnyProxy

Get Pro
Glossary · Circumvention

DNS filtering

Also calleddns blockdns censorship
Definition

DNS filtering blocks a website by making the address lookup fail or point somewhere else, so your browser never reaches the real server.

Explanation

In depth

Before your browser can open a site, it asks a DNS resolver, usually your ISP's, for the site's IP address. A filtering resolver answers a blocked name with nothing, with an error such as NXDOMAIN, with the address of a block page, or with an address that leads nowhere. Indonesia relies on it heavily: OONI and Sinar Project found that about 95% of the 414 sites they confirmed blocked between January and June 2022 were blocked by DNS hijacking. In Iran, OONI found ISP resolvers answering blocked names with private addresses such as 10.10.34.35. China does it on the wire instead: OONI documented forged DNS answers injected into lookups for Wikipedia in 2019. DNS filtering is cheap to run and easy to get around. Another resolver, or encrypted DNS, often avoids it, unless the network intercepts DNS traffic or also blocks by IP address or by the site name in the TLS handshake. Through a web proxy, your device only looks up the proxy's own name; the lookup for the site you open happens on the proxy server.

In practice

DNS filtering in the real world

Where a resolver sits does not decide whether you are filtered; where your query travels does. In our DomainScan scan of 5 October 2026, youtube.com was looked up from 15 public resolvers, including AliDNS (China) and Yandex.DNS (Russia). Queried from outside those countries, every one returned a Google address. Inside China the forged answer is injected on the network path, which is why OONI sees DNS tampering there even for resolvers that answer correctly from abroad.

Sources: OONI / Sinar Project - State of internet censorship in Indonesia 2022 (23 Dec 2022) · OONI - Iran censorship study (2025) · OONI - China blocks all language editions of Wikipedia (2019)

Questions about DNS filtering

Why does changing to 8.8.8.8 not unblock a site?
Either the network intercepts DNS queries and answers them itself, or the site is also blocked another way, by IP address or by the name in the TLS handshake. A new resolver only fixes DNS-only blocks.
Does DNS filtering always show a block page?
No. Indonesian ISPs often point blocked names at a block page; Iranian ISPs return private addresses that simply time out; China's forged answers make the page fail with no explanation.

Related terms

IP blockingIP blocking stops traffic to particular server addresses, so a site stays unreachable even when its name is looked up correctly.DPI (Deep Packet Inspection)Deep packet inspection (DPI) is network equipment that looks beyond a packet's addresses into its contents and patterns, to recognise and block or slow specific sites and apps.DNSDNS is the system that turns a site name such as vimeo.com into the numeric IP address your device actually connects to.DNS-over-HTTPSDNS over HTTPS (DoH) sends your DNS lookups inside an encrypted HTTPS connection, so the network in between can neither read nor rewrite the answers.

Put the concept to work

Try AnyProxy free — no install, no signup, six regions.

Open a blocked page