Every major public DNS server in one reference, with real IPv4 and IPv6 addresses, privacy notes, and guidance on choosing and switching.
Updated ·9 min read
What is a public DNS server?
A public DNS server is a free resolver anyone can configure a device or router to use instead of the one assigned by their internet provider. Providers like Cloudflare, Google, and Quad9 run these resolvers openly, publish their addresses, and document what they log.
Public DNS servers exist because the resolver an internet provider hands out by default is not
always the fastest, most private, or most reliable option available. Switching is free, reversible
in seconds, and does not require installing anything.
Compare public DNS servers
46 public resolvers, each with a different balance of speed, privacy, and
content filtering. Click a name for the full write-up.
Tiered filtering (security, family, adult) that is popular for schools and family networks.
Primary
185.228.168.9
Secondary
185.228.169.9
No-log: yes
DNSSEC: yes
Malware blocking: yes
Ad blocking: no
Family filter: yes
Control D
Windscribe
Highly customizable free resolvers — pick unfiltered, malware-blocking, ad-blocking, or family in one click.
Primary
76.76.2.0
Secondary
76.76.10.0
No-log: yes
DNSSEC: yes
Malware blocking: yes
Ad blocking: yes
Family filter: yes
AL
Alternate DNS
Alternate DNS
A simple ad-blocking resolver for people who want fewer ads without installing software.
Primary
76.76.19.19
Secondary
76.223.122.150
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: yes
Family filter: no
AliDNS
Alibaba Cloud
Alibaba Cloud's fast recursive resolver with wide coverage across Asia, supporting DoH, DoT, and DoQ.
Primary
223.5.5.5
Secondary
223.6.6.6
No-log: no
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
DNSPod Public DNS
Tencent
Tencent's BGP-anycast resolver optimized for Chinese ISP peering, with DoH and DoT support.
Primary
119.29.29.29
No-log: no
DNSSEC: no
Malware blocking: no
Ad blocking: no
Family filter: no
DNS.SB
xTom
A free, privacy-first resolver on xTom's global anycast network with DoH and DoT.
Primary
185.222.222.222
Secondary
45.11.45.11
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
Mullvad DNS
Mullvad VPN
Mullvad's free, encrypted-only public resolver (DoH/DoT). The default endpoint applies no filtering.
Primary
194.242.2.2
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
360 Secure DNS
Qihoo 360
Qihoo 360's security-oriented resolver with threat and phishing protection, supporting DoH and DoT.
Primary
101.226.4.6
Secondary
218.30.118.6
No-log: no
DNSSEC: no
Malware blocking: yes
Ad blocking: no
Family filter: no
Restena Public DNS
Fondation RESTENA
A neutral recursive resolver run by Luxembourg's national research and education network foundation.
Primary
158.64.1.29
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
DNS4EU (Protective)
DNS4EU consortium
An EU-funded, GDPR-compliant resolver; the default Protective tier blocks malware and phishing domains.
Primary
86.54.11.1
Secondary
86.54.11.201
No-log: no
DNSSEC: yes
Malware blocking: yes
Ad blocking: no
Family filter: no
UncensoredDNS
UncensoredDNS
A free, community-run uncensored resolver in Denmark, created in response to DNS censorship.
Primary
91.239.100.100
Secondary
89.233.43.71
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
LibreDNS
LibreOps
A privacy-focused, no-logs resolver from LibreOps (Greece), with an optional ad and tracker blocking endpoint.
Primary
116.202.176.26
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: yes
Family filter: no
NextDNS
NextDNS Inc.
A configurable cloud resolver — the generic addresses give no-setup resolution, while custom ad, malware, and family filtering use a free account.
Primary
45.90.28.0
Secondary
45.90.30.0
No-log: yes
DNSSEC: yes
Malware blocking: yes
Ad blocking: yes
Family filter: yes
DI
Digitale Gesellschaft
Digitale Gesellschaft (CH)
A Swiss digital-rights NGO's privacy-first, unfiltered, encrypted-only public resolver.
Primary
185.95.218.42
Secondary
185.95.218.43
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
SWITCH Public DNS
SWITCH
A free resolver from Switzerland's research-and-education network with a built-in DNS firewall that blocks malicious domains.
Primary
130.59.31.248
Secondary
130.59.31.251
No-log: no
DNSSEC: yes
Malware blocking: yes
Ad blocking: no
Family filter: no
Comcast Xfinity DNS
Comcast
Comcast's default anycast resolvers for Xfinity customers in the United States.
Primary
75.75.75.75
Secondary
75.75.76.76
No-log: no
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
CIRA Canadian Shield
CIRA
A free Canadian DNS firewall from the .ca registry; the Protected tier blocks malware and phishing.
Primary
149.112.121.20
Secondary
149.112.122.20
No-log: no
DNSSEC: yes
Malware blocking: yes
Ad blocking: no
Family filter: no
DNS for Family
DNS for Family
A free family-focused resolver that blocks adult content and enforces safe search, plus malware, ad, and gambling filtering.
Primary
94.130.180.225
Secondary
78.47.64.161
No-log: no
DNSSEC: yes
Malware blocking: yes
Ad blocking: yes
Family filter: yes
Yandex DNS
Yandex
Public DNS from Yandex, offered in Basic, Safe (malware/phishing), and Family (adult-content) modes.
Primary
77.88.8.8
Secondary
77.88.8.1
No-log: no
DNSSEC: no
Malware blocking: no
Ad blocking: no
Family filter: no
LE
Level 3 / Lumen (4.2.2.x)
Lumen (formerly Level 3)
Long-standing anycast resolvers in Level 3 (now Lumen) address space, widely used as 4.2.2.1–4.2.2.6 but never an official product.
Primary
4.2.2.1
Secondary
4.2.2.2
No-log: no
DNSSEC: no
Malware blocking: no
Ad blocking: no
Family filter: no
Vercara UltraDNS Public
Vercara (DigiCert)
Free recursive DNS formerly run as Verisign Public DNS (64.6.64.6), now operated by Vercara on the UltraDNS anycast network, in unfiltered, threat, and family tiers.
Primary
64.6.64.6
Secondary
64.6.65.6
No-log: no
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
Comodo Secure DNS
Comodo
A security-focused resolver that blocks known malware, phishing, and other malicious domains.
Primary
8.26.56.26
Secondary
8.20.247.20
No-log: no
DNSSEC: no
Malware blocking: yes
Ad blocking: no
Family filter: no
Hurricane Electric DNS
Hurricane Electric
A free anycast resolver from IPv6 backbone operator Hurricane Electric, with strong native IPv6 support.
Primary
74.82.42.42
No-log: no
DNSSEC: no
Malware blocking: no
Ad blocking: no
Family filter: no
DN
DNS.WATCH
DNS.WATCH
A free, uncensored German resolver focused on privacy, with DNSSEC and no query logging.
Primary
84.200.69.80
Secondary
84.200.70.40
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
Quad101
TWNIC
A free resolver run by Taiwan's domain registry TWNIC, with DNSSEC over plain DNS, DoT, and DoH.
Primary
101.101.101.101
Secondary
101.102.103.104
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
DNSforge
adminForge
A donation-funded German resolver that blocks ads, tracking, and malware by default, with DNSSEC.
Primary
176.9.93.198
Secondary
176.9.1.117
No-log: yes
DNSSEC: yes
Malware blocking: yes
Ad blocking: yes
Family filter: no
FDN (French Data Network)
French Data Network
An open, non-filtering resolver from France's oldest non-profit ISP association, with DNSSEC over plain DNS, DoT, and DoH.
Primary
80.67.169.12
Secondary
80.67.169.40
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
BlahDNS
BlahDNS
A hobby-run ad-blocking resolver with servers in Germany and Singapore, offering DoH, DoT, DoQ, and DNSCrypt.
Primary
78.46.244.143
Secondary
46.250.226.242
No-log: yes
DNSSEC: yes
Malware blocking: yes
Ad blocking: yes
Family filter: no
Tiarap
Tiarap
A privacy-first resolver that blocks ads, trackers, malware, and phishing, with DoH, DoT, DoQ, and DNSCrypt.
Primary
174.138.21.128
Secondary
188.166.206.224
No-log: yes
DNSSEC: yes
Malware blocking: yes
Ad blocking: yes
Family filter: no
Freifunk München (ffmuc)
Freie Netze München e.V.
A non-profit, non-filtering privacy resolver from Freifunk München, with servers in Munich and Vienna.
Primary
5.1.66.255
Secondary
185.150.99.255
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
NA
Nawala ChildProtection
Nawala
An Indonesian family-safe resolver that blocks pornography, gambling, phishing, and malware.
Primary
180.131.144.144
Secondary
180.131.145.145
No-log: no
DNSSEC: no
Malware blocking: yes
Ad blocking: no
Family filter: yes
SafeDNS
SafeDNS
A cloud DNS-filtering service whose free resolver blocks malicious domains, with configurable categories via an account.
Primary
195.46.39.39
Secondary
195.46.39.40
No-log: no
DNSSEC: no
Malware blocking: yes
Ad blocking: no
Family filter: yes
Gcore Public DNS
Gcore
A free anycast resolver from Gcore focused on fast resolution across its global edge network.
Primary
95.85.95.85
Secondary
2.56.220.2
No-log: yes
DNSSEC: no
Malware blocking: no
Ad blocking: no
Family filter: no
CZ.NIC ODVR
CZ.NIC
CZ.NIC's Open DNSSEC Validating Resolvers — a free resolver run by the Czech national registry with DNSSEC and encrypted transport.
Primary
193.17.47.1
Secondary
185.43.135.1
No-log: no
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
OpenBLD DNS
OpenBLD Project
A Kazakhstan-based DoH/DoT-only resolver that blocks ads, trackers, and malware using public threat feeds. Encrypted transport only — no plain-DNS IP.
DNS-over-HTTPS
https://ada.openbld.net/dns-query
DNS-over-TLS
ada.openbld.net
No-log: no
DNSSEC: yes
Malware blocking: yes
Ad blocking: yes
Family filter: no
IIJ Public DNS
Internet Initiative Japan
A free DoH/DoT beta resolver from Japanese ISP IIJ (offered through March 2027). Encrypted transport only — no plain-DNS IP.
DNS-over-HTTPS
https://public.dns.iij.jp/dns-query
DNS-over-TLS
public.dns.iij.jp
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
Applied Privacy
Foundation for Applied Privacy
A non-profit Austrian resolver offering DNS-over-HTTPS and DNS-over-TLS only — it deliberately does not run plain DNS.
DNS-over-HTTPS
https://doh.applied-privacy.net/query
DNS-over-TLS
dot1.applied-privacy.net
No-log: yes
DNSSEC: yes
Malware blocking: no
Ad blocking: no
Family filter: no
RethinkDNS
RethinkDNS
An open-source, serverless DoH resolver on Cloudflare Workers. The bare endpoint resolves unfiltered; 190+ optional ad, malware, and family blocklists activate via a config. Encrypted transport only.
DNS-over-HTTPS
https://sky.rethinkdns.com/dns-query
No-log: yes
DNSSEC: no
Malware blocking: no
Ad blocking: no
Family filter: no
Comss.one DNS
Comss.one
A free Russian ad- and malware-blocking resolver offering plain DNS, DoH, DoT, and DoQ.
Primary
83.220.169.155
Secondary
212.109.195.93
No-log: no
DNSSEC: yes
Malware blocking: yes
Ad blocking: yes
Family filter: no
FlashStart
FlashStart Group
An Italian content-filtering resolver for malware and family/content control. It only answers normally for public IPs first registered (free) in its Cloud Panel.
Primary
185.236.104.104
Secondary
185.236.105.105
No-log: no
DNSSEC: no
Malware blocking: yes
Ad blocking: no
Family filter: yes
Feature comparison
A quick way to compare logging, DNSSEC, and filtering side by side.
Start with what you actually need, then narrow the list:
Just want it fast. Cloudflare and Google are both fast on most connections and
widely reliable. Run the speed test to see which is faster from
where you are.
Want built-in protection. Quad9 blocks known-malicious domains with no
filtering opinions beyond security. AdGuard adds ad and tracker blocking. OpenDNS and
CleanBrowsing offer configurable family filtering. See the full breakdown on
best DNS for gaming and best DNS for privacy.
Care most about privacy. Look for noLogging in the comparison
table above and read the provider's own privacy policy — link is on every provider's detail
page.
Running a household or small office. Pick one resolver and set it at the
router, so every device benefits without individual configuration. See the
router setup guide.
Privacy considerations: logging and ECS
Every DNS lookup you make passes through whichever resolver you use, which puts that resolver in
a position to see which domains you visit. Two things matter most when judging a provider's
privacy stance:
Query logging. Some resolvers keep no logs tied to your IP address at all;
others retain a temporary sample for abuse detection, or a longer-term anonymized log. The
comparison table's "No logs" column and each provider's privacyNote reflect what
they publicly state — always check the provider's own privacy policy for the current, precise
terms.
EDNS Client Subnet (ECS). ECS is an extension that passes a portion of your IP
address to the authoritative server answering a query, so a content delivery network can route
you to a closer server. It can slightly improve performance for CDN-heavy sites, but it also
shares more of your network location than a plain DNS query would. Resolvers that support ECS
are marked in the provider list above; most privacy-focused resolvers disable it by default.
None of this is unique to public DNS — your internet provider's default resolver sees the same
queries and is rarely as transparent about logging. Switching to a resolver with a published,
readable privacy policy is usually a step up, not a risk.
How to switch your DNS server
DNS can be set at the device level (affects only that device) or the router level (affects every
device on the network). Router-level is usually the more convenient choice for a home or office.
Step-by-step instructions are available for:
A public DNS server is a free, internet-facing resolver that anyone can point their device or router at, instead of using the resolver assigned automatically by an internet provider. Cloudflare, Google, and Quad9 are common examples.
Is it safe to use a public DNS server?
Yes, for any of the established providers listed on this page. Each has a published privacy policy describing what it logs. The main risk is picking an obscure, undocumented resolver — stick to providers that state their logging practices clearly.
Do I need both a primary and secondary address?
Most operating systems ask for two addresses so lookups can continue if one server is briefly unreachable. Use the primary and secondary from the same provider — mixing providers works but complicates troubleshooting and offers no real benefit.
Will switching DNS servers make my internet faster?
It can shorten the delay before a new site starts loading, since that delay includes a DNS lookup — see the callout above, in the switching section, for exactly what that does and doesn't change.