Cloudflare (1.1.1.1) and Google Public DNS (8.8.8.8) are the two most widely used public DNS services. Both are free, both support encrypted DNS and both run on a large number of servers around the world.
The differences between them are mostly about privacy policy and speed on your particular connection. This guide compares the two services on the same criteria and explains how to choose.
Quick comparison
| Criterion | Cloudflare | Google Public DNS |
|---|---|---|
| IPv4 addresses | 1.1.1.1 / 1.0.0.1 | 8.8.8.8 / 8.8.4.4 |
| Encrypted DNS (DoH, DoT) | Yes | Yes |
| Filtering | None on the standard address; separate addresses offer malware and adult content filtering | No filtering on the standard service |
| Logging policy | States it does not permanently store the querying IP address | States it deletes temporary logs containing the full IP within a short period |
| Cost | Free | Free |
Privacy
Both companies publish separate privacy statements for their DNS services. Cloudflare says that for 1.1.1.1 it does not write the querying IP address to permanent logs, deletes logs within a short period, and has these commitments independently audited. Google says it deletes temporary logs containing the full IP address within one to two days, and that its longer-kept logs store only general information such as city-level location instead of the IP address.
Details can change over time, so read both services’ current privacy pages before deciding. In either case, the DNS service can see which sites you connect to; it does not see the content of the pages you visit.
Speed
Which one is faster depends on your location, your provider and network conditions at the time. General benchmark results may not reflect your connection. The most reliable way is to measure on your own connection; we explain how in which DNS is fastest. The difference is often a matter of milliseconds and may not be noticeable in everyday use.
Encrypted DNS support
Both services support DNS over HTTPS (DoH) and DNS over TLS (DoT). On Android, the Private DNS hostname is one.one.one.one for Cloudflare and dns.google for Google. See encrypted DNS and changing DNS on Android for details.
Which one should you choose?
- If privacy is your priority: Compare the two privacy pages, focusing on how long logs are kept and what data is stored.
- If speed is your priority: Measure both on your own connection at different times of day.
- If you want filtering: Look at Cloudflare’s filtered addresses or services such as Quad9 that block malicious domains.
- As a backup: Using the two addresses of the same service as primary and secondary, rather than mixing services, makes troubleshooting easier.
For more on each service, read what is Cloudflare 1.1.1.1 and what is Google DNS.

