Fix DNS Not Working on iPhone
DNS failures on iPhone and iPad prevent Safari and apps from loading content even with a strong signal. This guide walks through eight troubleshooting steps covering Wi-Fi DNS, mobile data, iCloud Private Relay conflicts, and configuration profiles.
Common causes of DNS failure on iOS
- iCloud Private Relay outage — When Apple's relay servers have issues, DNS fails silently.
- Network profile override — Enterprise or school profiles can force DNS to an unreachable server.
- VPN DNS hijacking — VPN apps redirect DNS and may not clean up after disconnecting.
- Carrier DNS outage — Your mobile carrier's DNS servers can become overloaded or fail.
- Stale Wi-Fi configuration — Cached DHCP settings from previously joined networks can interfere.
Step 1 — Toggle airplane mode
The fastest fix for transient DNS problems:
- Swipe down from the top-right corner (iPhone X and later) or swipe up from the bottom (iPhone 8 and earlier) to open Control Center.
- Tap the Airplane icon to enable it.
- Wait 10 seconds.
- Tap it again to disable.
This forces iOS to release and renew all network connections, including DNS. Open Safari and try loading a page to test.
Step 2 — Forget and rejoin Wi-Fi
- Go to Settings > Wi-Fi.
- Tap the info (i) button next to your connected network.
- Tap Forget This Network and confirm.
- Select the network from the list and enter the password to reconnect.
This clears any cached DNS configuration for that network. iOS will request a fresh DHCP lease with new DNS server assignments from the router.
Step 3 — Set DNS manually
- Go to Settings > Wi-Fi.
- Tap the info (i) button on your connected network.
- Scroll down and tap Configure DNS.
- Change from Automatic to Manual.
- Delete all existing DNS server entries by tapping the red minus buttons.
- Tap Add Server and enter
1.1.1.1. - Tap Add Server again and enter
8.8.8.8. - Tap Save.
This overrides the DNS servers provided by the Wi-Fi router. Note that this setting only applies to this specific Wi-Fi network.
For the full walkthrough, see our iOS/macOS DNS setup guide.
Step 4 — Reset network settings
This is a more thorough reset that clears all network configuration at once:
- Go to Settings > General > Transfer or Reset iPhone.
- Tap Reset.
- Tap Reset Network Settings.
- Enter your passcode and confirm.
What gets erased: All saved Wi-Fi passwords, VPN configurations, Bluetooth pairings, and cellular settings.
What stays: Apps, photos, messages, and all personal data.
After the reset, reconnect to Wi-Fi and test DNS by loading a website.
Step 5 — Check for VPN and profile conflicts
Configuration profiles (from employers, schools, or apps) can override DNS settings:
- Go to Settings > General > VPN & Device Management.
- Review installed profiles. Look for any you do not recognize.
- If a VPN is active, disconnect it temporarily.
- Remove suspicious profiles by tapping them and selecting Remove Profile.
Enterprise MDM profiles are the most common cause of DNS issues on company-managed devices. If your device is managed by your employer, contact IT support.
Step 6 — Disable iCloud Private Relay
Private Relay (iCloud+ feature) routes DNS and web traffic through Apple's relay infrastructure. When it malfunctions:
- Go to Settings > tap your name at the top > iCloud.
- Tap Private Relay.
- Toggle it off.
If DNS works immediately after disabling Private Relay, Apple's relay servers are likely experiencing issues. Check Apple System Status for outage reports and re-enable later.
Step 7 — Update iOS
- Go to Settings > General > Software Update.
- If an update is available, download and install it.
Apple has fixed DNS-related bugs in several iOS point releases. For example, iOS 16.3 fixed an issue where DNS queries would fail intermittently after switching networks. Keeping your device updated ensures you have these fixes.
Step 8 — Use a DNS configuration profile
For permanent, system-wide DNS on both Wi-Fi and cellular, install a DNS configuration profile:
- Cloudflare 1.1.1.1 app — Download from the App Store. It installs a DNS profile that routes all DNS through Cloudflare's encrypted servers.
- Manual profile — Download a
.mobileconfigfile from providers like Cloudflare, Google, or Quad9 and install it in Settings > General > VPN & Device Management.
DNS profiles work on mobile data too, which is something manual Wi-Fi DNS settings cannot do. They are the most comprehensive DNS solution for iOS.
Test your DNS configuration
After resolving your DNS issue, verify your setup is secure:
- DNS Privacy Check — Test for DNS leaks and verify DNSSEC and encrypted DNS.
- DNS Gaming Benchmark — Measure DNS latency from your iPhone or iPad.
- Browse all public DNS servers — Find the most reliable resolvers for your region.
Frequently asked questions
Does changing DNS settings on iPhone affect mobile data?
Manual DNS settings in Wi-Fi only apply to that Wi-Fi network. For mobile data DNS, you need either a DNS configuration profile (installed via an app like Cloudflare 1.1.1.1) or a VPN-based DNS app. iOS does not allow manual DNS settings for cellular connections through the Settings app.
Why does DNS work on Wi-Fi but not on mobile data?
Your carrier provides separate DNS servers for mobile data. If they are overloaded or misconfigured, DNS fails on cellular. Install a DNS profile (Cloudflare 1.1.1.1 app) to override carrier DNS on mobile data.
Can iCloud Private Relay cause DNS issues?
Yes. Private Relay routes all DNS queries and web traffic through Apple relay servers. If the relay infrastructure has problems or your iCloud+ subscription lapses, DNS and browsing can break. Disabling it reverts to your configured DNS servers.
Will resetting network settings delete my apps or photos?
No. Reset Network Settings only erases Wi-Fi passwords, VPN configurations, Bluetooth pairings, and cellular settings. Your apps, photos, messages, and all other personal data remain untouched.