Quad9 is a free public recursive DNS resolver, reachable at 9.9.9.9, that answers DNS queries for any client on the Internet while blocking domains known to host malware, phishing or botnet infrastructure. It is operated by the Quad9 Foundation, a nonprofit organization based in Switzerland, and it is one of the best-known alternatives to the resolver supplied by an Internet service provider.
Quad9 was launched in November 2017 by IBM, Packet Clearing House and the Global Cyber Alliance. Its defining design choice is that security filtering and privacy protection are the default, not optional add-ons, which distinguishes it from resolvers that focus mainly on speed or on bundled analytics.
How Quad9 resolves and filters queries
Quad9 resolves names like any recursive DNS service: it receives a query from a stub resolver on a device or a home router, walks the hierarchy from the root name servers to the authoritative servers, and returns the answer. Results are stored in a DNS cache for the record’s time to live, so repeated queries are answered locally within milliseconds.
The distinctive step happens before the answer leaves the resolver. Each queried name is compared with a blocklist compiled from threat intelligence feeds supplied by roughly two dozen security partners. When a name matches, Quad9 returns NXDOMAIN, the response that says the domain does not exist, so the client never learns the malicious address and the connection never starts.
The service is delivered through anycast routing: the same addresses are announced from hundreds of points of presence across many countries, and network routing sends each query to a nearby node. This design lowers latency, spreads load and limits the impact of distributed denial-of-service attacks on any single site.
The following table summarizes the processing stages of a single query on the default service.
| Stage | What Quad9 does | Effect for the client |
|---|---|---|
| Reception | Accepts the query on the nearest anycast node | Low latency from most regions |
| Threat check | Compares the name with the blocklist | Known malicious names receive NXDOMAIN |
| Resolution | Queries authoritative servers or answers from cache | Correct records for legitimate names |
| DNSSEC validation | Verifies signatures on signed zones | Forged answers are rejected with SERVFAIL |
| Response | Returns the answer without storing the client IP | No query log tied to the user |
Quad9 service addresses and variants
Quad9 publishes three service profiles, each on its own set of IPv4 and IPv6 addresses, so administrators choose the behavior simply by choosing the address. The secure profile at 9.9.9.9 is the recommended default; the other two exist for diagnostics and for content delivery needs.
| Profile | IPv4 addresses | IPv6 addresses | Behavior |
|---|---|---|---|
| Secure (default) | 9.9.9.9 and 149.112.112.112 | 2620:fe::fe and 2620:fe::9 | Threat blocking and DNSSEC validation |
| Secure with ECS | 9.9.9.11 and 149.112.112.11 | 2620:fe::11 and 2620:fe::fe:11 | Blocking, DNSSEC and EDNS Client Subnet |
| Unsecured | 9.9.9.10 and 149.112.112.10 | 2620:fe::10 and 2620:fe::fe:10 | No blocking and no DNSSEC validation |
EDNS Client Subnet (ECS) forwards a truncated part of the client address to authoritative servers so that content delivery networks can pick a closer server. It can improve download performance, but it reveals approximate location to third parties, which is why Quad9 keeps it off by default. The unsecured profile is mainly useful for troubleshooting a suspected false positive.
Beyond classic DNS over port 53, Quad9 supports encrypted transports: DNS over TLS on port 853, DNS over HTTPS on port 443 and DNSCrypt. Encryption hides query contents from the local network and the access provider, which plain UDP traffic does not.
Privacy and governance of the Quad9 Foundation
Quad9 states that it does not log client IP addresses and does not sell or profile query data. It keeps only aggregated, anonymous statistics, such as counts of queries for a given domain, which help partners measure threat activity without identifying users.
In 2021 the operating entity moved to Switzerland, placing the service under Swiss data protection law and aligning it with the GDPR for European users. As a nonprofit funded by donations and sponsors, Quad9 has no advertising business that would benefit from query data, although users still extend trust to its stated policies, which no outside party can verify in real time.
How Quad9 compares with other public resolvers
Quad9 is most often compared with Google Public DNS and 1.1.1.1 from Cloudflare. All three are large anycast services with encrypted transports, but they differ in default filtering, logging and ECS handling, as the table shows.
| Resolver | Primary address | Default threat blocking | Client IP logging | ECS by default |
|---|---|---|---|---|
| Quad9 | 9.9.9.9 | Yes | Not stored | No |
| Google Public DNS | 8.8.8.8 | No | Temporary logs | Yes |
| 1.1.1.1 | 1.1.1.1 | No (filtered variant 1.1.1.2) | Short-lived, audited | No |
| ISP resolver | Assigned by DHCP | Varies by provider | Varies by provider | Varies |
Raw latency rankings change with location and over time, so no resolver is universally fastest. In practice the choice usually rests on policy: Quad9 suits users who want protective filtering without installing software, while unfiltered resolvers suit environments that apply their own security controls.
Configuring Quad9 and avoiding common pitfalls
Quad9 can be set on a single device, a home router or a corporate forwarder such as BIND or Unbound. Router-level configuration protects every connected device, including those that offer no DNS settings of their own.
| Situation | Recommended setting | Reason |
|---|---|---|
| Home network | Router DNS set to 9.9.9.9 and 149.112.112.112 | Covers all devices at once |
| Laptop on public Wi-Fi | DNS over TLS or DNS over HTTPS | Hides queries from the hotspot operator |
| Corporate forwarder | Forward to the secure profile over TLS | Adds a filtering layer to internal DNS |
| Suspected false positive | Test the name against 9.9.9.10 | Confirms whether blocking is the cause |
| Heavy CDN streaming | Consider the ECS profile | May select closer content servers |
- Mixing resolvers such as 9.9.9.9 with 8.8.8.8 lets clients bypass filtering whenever they choose the second server.
- Domain blocking is not full protection: malware that connects by raw IP address or uses its own resolver is not stopped.
- False positives occur occasionally; Quad9 accepts reports and removes entries confirmed as legitimate.
- Split-horizon DNS names in a private network cannot be resolved by any public resolver, including Quad9.
Stripped to the essentials
Every time someone types a website name, a device has to ask a directory service which numeric address belongs to that name. Quad9 is one such directory, free for anyone, at the easy address 9.9.9.9.
What makes it different is that it refuses to give out addresses of known dangerous sites. It works like a switchboard operator who will not connect calls to numbers on a fraud list. It also promises not to keep a record of who asked, so it is a simple way to add both safety and privacy to a home or office network.
Where it is applied
A small accounting office with twelve workstations and no dedicated IT staff changes the DNS settings on its router from the provider defaults to 9.9.9.9 and 149.112.112.112, and enables DNS over TLS on the router so queries are encrypted on the provider network. The change takes a few minutes and requires no software on any computer.
Several weeks later an employee clicks a link in a convincing invoice email. The link points to a freshly registered phishing domain that a threat intelligence partner has already reported. Quad9 answers with NXDOMAIN, the browser shows a page-not-found error and no credentials reach the attacker. The office keeps its antivirus and email filtering in place, but the resolver now acts as an inexpensive first line of defense for every device on the network.