Switch to a Public DNS: Faster Lookups, Fewer Hijacks
Compare 1.1.1.1, 8.8.8.8, 223.5.5.5 and 119.29.29.29, then set them up on Windows, macOS, Android, iOS or your router.
Why bother changing DNS
Every domain you type (example.com) must first be translated into an IP address, and that translation is done by a DNS resolver — by default, your internet provider's. Three good reasons to switch:
1. Speed. Your ISP's resolver is rarely the fastest. Public resolvers run on global anycast networks and usually answer in tens of milliseconds. 2. Hijack-free browsing. Some ISP resolvers redirect mistyped or blocked domains to ad-filled search pages instead of returning a clean error. Public resolvers return honest answers. 3. A clearer privacy story. Your ISP already sees your traffic; handing it your DNS history too is unnecessary. Reputable public resolvers publish explicit no-logging or short-retention policies — read each provider's policy before trusting it.
What changing DNS does *not* do: it doesn't hide your IP address, doesn't encrypt your traffic, and doesn't bypass network-level blocking on its own.
The four resolvers, compared
| Resolver | IPv4 | IPv6 | Best for | |---|---|---|---| | Cloudflare | 1.1.1.1, 1.0.0.1 | 2606:4700:4700::1111 | Privacy policy, speed worldwide | | Google Public DNS | 8.8.8.8, 8.8.4.4 | 2001:4860:4860::8888 | Reliability, universal compatibility | | AliDNS (Alibaba) | 223.5.5.5, 223.6.6.6 | 2400:3200::1 | Lowest latency inside mainland China | | DNSPod (Tencent) | 119.29.29.29, 119.28.28.28 | — | Alternative inside mainland China, anti-hijack focus |
Always fill in both a primary and a secondary address (from the same provider) so one outage doesn't take you offline.
Which one should you pick
- In mainland China: use AliDNS (
223.5.5.5/223.6.6.6) or DNSPod (119.29.29.29). Overseas resolvers can be slow or unreliable from inside China. - Outside China: Cloudflare (
1.1.1.1) or Google (8.8.8.8) — both are fast nearly everywhere and support encrypted DNS (see below). - If a site resolves wrongly after switching: some domestic services rely on DNS-based steering to nearby servers; if video or banking feels slower, try the other local provider before giving up.
Set it up
Settings → Network & internet → Wi-Fi (or Ethernet) → Hardware properties → next to DNS server assignment, click Edit → switch to Manual → turn on IPv4 → enter Preferred (1.1.1.1) and Alternate (1.0.0.1) → Save. The same panel offers DNS over HTTPS — set it to *On (automatic template)* to encrypt lookups too.
Windows 10: Settings → Network & Internet → Change adapter options → right-click your connection → Properties → Internet Protocol Version 4 (TCP/IPv4) → Properties → Use the following DNS server addresses.
System Settings → Wi-Fi (or Network → Ethernet) → Details… on your network → DNS tab → + to add 1.1.1.1 and 1.0.0.1, remove the old entries → OK.
Settings → Network & Internet → Private DNS → Private DNS provider hostname. Note: Android wants a hostname, not an IP:
- Cloudflare:
one.one.one.one - Google:
dns.google - AliDNS:
dns.alidns.com - DNSPod:
dot.pub
This single setting applies to all networks and encrypts DNS (DNS-over-TLS) automatically.
Settings → Wi-Fi → tap the ⓘ next to your network → Configure DNS → Manual → delete old servers, add 1.1.1.1 and 1.0.0.1 → Save. This is per network — repeat for each Wi-Fi you use. (System-wide encrypted DNS on iOS needs a configuration profile from the provider; per-network manual DNS is the simple path.)
Log into your router's admin page (usually 192.168.1.1 or 192.168.0.1), find DHCP / LAN settings or Internet / WAN settings, and replace the DNS fields with your chosen pair. Every device on your Wi-Fi then uses the new resolver with no per-device setup. Menu names differ by brand — look for "DNS Server" under DHCP or WAN.
Verify it's working
# Windows / macOS / Linux
nslookup example.com
The Server: line should show your new resolver (1.1.1.1). On Linux/macOS you can also query a specific resolver directly:
dig @1.1.1.1 example.com +short
Then visit 1.1.1.1/help (Cloudflare) in a browser for a one-page connection diagnostic.
A word on DNS over HTTPS (DoH)
Normal DNS is plaintext: anyone on your network path can see which domains you look up. DNS over HTTPS wraps those queries in ordinary encrypted web traffic (port 443), so snoopers and captive portals can't read or tamper with them. Windows 11 and Android (Private DNS) can enable it system-wide as shown above; Firefox and Chrome also have a "Secure DNS" toggle in settings using providers like https://cloudflare-dns.com/dns-query or https://dns.google/dns-query. DoH hides the *lookup* — your ISP can still see which IP addresses you connect to afterward.
FAQ
Will changing DNS make my internet faster overall?
It speeds up the *lookup* step (often 20–100 ms saved per new domain), which makes browsing feel snappier. It doesn't increase your bandwidth — downloads and video streams won't get faster.
Can I use different DNS on different networks?
Yes, and you should think about it: Windows stores DNS per network adapter, iOS per Wi-Fi network, Android's Private DNS is global. A resolver that's fast at home may be slow at the office — pick per location if you notice.
My bank / video site broke after switching. What happened?
Some services use your resolver's location to steer you to nearby servers (EDNS Client Subnet). A far-away resolver can send you to a far-away server. Switch back to a local provider (AliDNS/DNSPod in China) for those networks.
Is a public DNS enough for privacy?
It's one layer. DNS is only the phone book — after the lookup, your ISP still sees the IP addresses you visit. For real privacy against network observers you need a VPN (which also changes your DNS). Don't treat a DNS switch as invisibility.