Free DNS Servers
List of free and public DNS servers for faster and more secure internet browsing.
Cloudflare DNS
Consistently one of the fastest resolvers. Cloudflare doesn't sell query data and deletes its logs within about a day. Filtered options are listed below.
IPv4
1.1.1.1Primary1.0.0.1Secondary
IPv6
2606:4700:4700::1111Primary2606:4700:4700::1001Secondary
Encrypted DNS
one.one.one.oneDoThttps://cloudflare-dns.com/dns-queryDoH
Google Public DNS
Fast, highly reliable resolver on Google's global network. Detailed query logs are deleted within 24 to 48 hours.
IPv4
8.8.8.8Primary8.8.4.4Secondary
IPv6
2001:4860:4860::8888Primary2001:4860:4860::8844Secondary
Encrypted DNS
dns.googleDoThttps://dns.google/dns-queryDoH
Quad9
Swiss non-profit resolver that blocks domains known to spread malware and phishing, using threat intelligence from many security partners. It doesn't record your IP address.
IPv4
9.9.9.9Primary149.112.112.112Secondary
IPv6
2620:fe::fePrimary2620:fe::9Secondary
Encrypted DNS
dns.quad9.netDoThttps://dns.quad9.net/dns-queryDoH
OpenDNS
Cisco's long-running resolver. Phishing sites are blocked by default, and a free account adds content filtering for families and small offices.
IPv4
208.67.222.222Primary208.67.220.220Secondary
IPv6
2620:119:35::35Primary2620:119:53::53Secondary
Encrypted DNS
https://doh.opendns.com/dns-queryDoH
AdGuard DNS
Blocks ads, trackers and phishing domains for every app and device that uses it, with no software to install. Non-filtering and family options are listed below.
IPv4
94.140.14.14Primary94.140.15.15Secondary
IPv6
2a10:50c0::ad1:ffPrimary2a10:50c0::ad2:ffSecondary
Encrypted DNS
dns.adguard-dns.comDoThttps://dns.adguard-dns.com/dns-queryDoH
CleanBrowsing
The Security filter below blocks phishing, malware and other malicious domains. The Family filter (listed further down) also blocks adult content and enforces Safe Search.
IPv4 · Security filter
185.228.168.9Primary185.228.169.9Secondary
Encrypted DNS · Security filter
security-filter-dns.cleanbrowsing.orgDoThttps://doh.cleanbrowsing.org/doh/security-filter/DoH
Comodo Secure DNS
Security-focused resolver that blocks known phishing, malware and spyware sites.
IPv4
8.26.56.26Primary8.20.247.20Secondary
UltraDNS Public
Unfiltered public resolver on the UltraDNS anycast network (formerly run by Neustar).
IPv4
156.154.70.1Primary156.154.71.1Secondary
Level 3 (Lumen)
Long-running resolvers from Lumen (formerly Level 3). They still answer queries, but they aren't officially offered as a public service and have no published privacy policy, so prefer one of the providers above.
IPv4
209.244.0.3Primary209.244.0.4Secondary
Filtered and unfiltered variants
Several providers run extra resolvers with different filtering. Use both addresses of the same variant.
| Provider | What it does | IPv4 addresses |
|---|---|---|
| Cloudflare | Blocks malware |
1.1.1.2
1.0.0.2
|
| Cloudflare for Families | Blocks malware and adult content |
1.1.1.3
1.0.0.3
|
| Quad9 | Unfiltered (no threat blocking) |
9.9.9.10
149.112.112.10
|
| OpenDNS FamilyShield | Blocks adult content, no account needed |
208.67.222.123
208.67.220.123
|
| AdGuard DNS | Non-filtering |
94.140.14.140
94.140.14.141
|
| AdGuard DNS Family | Blocks ads, trackers and adult content; enforces Safe Search |
94.140.14.15
94.140.15.16
|
| CleanBrowsing Family | Blocks malicious and adult content; enforces Safe Search |
185.228.168.168
185.228.169.168
|
How to change your DNS servers
- Windows 11: Settings › Network & internet › Wi-Fi or Ethernet › Hardware properties › DNS server assignment › Edit › Manual. For Cloudflare, Google and Quad9 you can also switch on DNS over HTTPS there.
- macOS: System Settings › Network › your connection › Details › DNS, then add the servers with +.
- iPhone and iPad: Settings › Wi-Fi › tap ⓘ next to your network › Configure DNS › Manual › Add Server.
- Android 9 and later: Settings › Network & internet › Private DNS › Private DNS provider hostname, then enter a DoT hostname such as
dns.googleorone.one.one.one. Menu names vary by manufacturer. - Router: set the DNS servers in your router's Internet (WAN) or DHCP settings to apply them to every device on your network.
Tips
- Enter both the primary and secondary address of the same provider so lookups keep working if one is unreachable.
- DoT (DNS over TLS) and DoH (DNS over HTTPS) encrypt your lookups so others on the network can't see or change them.
- After switching, clear the old cache:
ipconfig /flushdnson Windows, or restart the device.
Addresses checked October 2026. Use providers you trust: your DNS resolver can see every domain you visit.