How to set up OpenDNS or Google DNS on Android
Android 9+ supports Private DNS (DNS over TLS). You can also set classic DNS per Wi‑Fi network.
Why change DNS on Android?
Hotel and ISP Wi‑Fi often break resolution. Private DNS keeps lookups working on both Wi‑Fi and mobile data.
Recommended public DNS servers
- OpenDNS (Cisco): 208.67.222.222 / 208.67.220.220
- Google Public DNS: 8.8.8.8 / 8.8.4.4
- Cloudflare DNS: 1.1.1.1 / 1.0.0.1
Private DNS (recommended, Android 9+)
- Open Settings → Network & internet (or Connections) → Private DNS.
- Select Private DNS provider hostname.
- Enter dns.google for Google Public DNS over TLS.
- Save. OpenDNS hostname support varies; if Private DNS fails, use per-Wi‑Fi static DNS below.
- Alternate Wi‑Fi method: long-press the network → Modify → Advanced → IP settings → Static, then set DNS 1 / DNS 2 to 8.8.8.8 and 8.8.4.4 (or OpenDNS IPs). Keep the existing IP/gateway unless you know what to change.
Clear DNS-related state
Android has no simple flushdns command; toggle flight mode instead.
- Enable Airplane mode for 15 seconds, then disable it.
- Or forget the Wi‑Fi network and reconnect.
- Force-stop the browser and reopen the site.
Verify it worked
If cellular works and Wi‑Fi fails after Private DNS, the hotspot may block outbound DNS-over-TLS, fall back to static DNS on that SSID.
Related DNS guides
- How to set up OpenDNS or Google DNS on Windows 11
- How to set up OpenDNS or Google DNS on Windows 10
- How to set up OpenDNS or Google DNS on Windows 8
- How to set up OpenDNS or Google DNS on Windows 7
- How to set up OpenDNS or Google DNS on Windows Vista
- How to set up OpenDNS or Google DNS on Windows XP
- How to set up OpenDNS or Google DNS on macOS
- How to set up OpenDNS or Google DNS on Ubuntu / Debian
- How to set up OpenDNS or Google DNS on Fedora / RHEL
- How to set up OpenDNS or Google DNS on iPhone & iPad
- How to set up OpenDNS or Google DNS on ChromeOS
- How to set up OpenDNS or Google DNS on your router