If you see the “Network is blocking encrypted DNS traffic” alert on your iPhone or iPad, your current Wi-Fi or cellular network is preventing your device from using DNS over HTTPS (DoH) or DNS over TLS (DoT). This guide walks you through the causes and step-by-step fixes, from toggling settings to using a different DNS provider, so you can restore private, encrypted DNS on iOS.
What You’ll Need
- An iPhone or iPad running iOS 14 or later (the alert appears in Settings > General > VPN & Device Management > DNS).
- Access to the Wi-Fi router settings (if you want to adjust the router).
- A preferred DNS provider (e.g., Cloudflare, Google, Quad9) – you can use their default settings.
Step-by-Step
- Identify the network causing the issue. The alert usually appears when you connect to a specific Wi-Fi network. Check if it happens on all networks or just one. If it’s only on one, the problem is likely with that router’s settings.
- Toggle Wi-Fi off and on. Go to Settings > Wi-Fi, turn off Wi-Fi, wait 10 seconds, then turn it back on. Reconnect to the network and see if the alert disappears. This clears temporary network glitches.
- Forget the network and reconnect. If toggling doesn’t help, tap the “i” next to the network name, select “Forget This Network,” then reconnect by entering the password. This resets the network configuration on your device.
- Check your DNS settings on iOS. Go to Settings > General > VPN & Device Management > DNS. If you have a DNS profile installed (e.g., from a VPN or a configuration profile), try removing it temporarily. Some profiles enforce DNS servers that the network blocks.
- Change DNS to a public provider. If you’re using a custom DNS (like a router-provided one), switch to a public DoH/DoT provider. Go to Settings > Wi-Fi, tap the “i” next to your network, scroll to “Configure DNS,” select “Manual,” and add servers like:
- Cloudflare: 1.1.1.1 and 1.0.0.1
- Google: 8.8.8.8 and 8.8.4.4
- Quad9: 9.9.9.9 and 149.112.112.112
Make sure to remove any existing servers. iOS will then attempt to use encrypted DNS with these.
- Update your router’s DNS settings. If the alert persists on a specific Wi-Fi, log into your router’s admin page (usually via a browser at an IP like 192.168.1.1) and change the DNS servers to a public provider. This ensures all devices on the network use non-blocked DNS.
- Disable and re-enable DNS over HTTPS in Safari (if applicable). Some users find that toggling “Use DNS over HTTPS” in Safari’s experimental features helps. Go to Settings > Safari > Advanced > Experimental Features, and toggle “DNS over HTTPS” off, then on. (Note: this feature may be removed in later iOS versions.)
- Reset network settings. As a last resort, go to Settings > General > Transfer or Reset iPhone > Reset > Reset Network Settings. This clears all saved Wi-Fi passwords, Bluetooth pairings, and VPN profiles. You’ll need to reconnect to Wi-Fi networks afterward.
Common Mistakes
- Ignoring the alert and continuing to use the network. The alert means your DNS queries are visible to the network, potentially allowing snooping. Don’t assume it’s harmless.
- Using a DNS provider that the network blocks. Some networks (like public Wi-Fi) block all non-default DNS. If you set a custom DNS and it’s blocked, the alert appears. Try a different provider or use the network’s default DNS.
- Forgetting to remove old DNS profiles. If you have a VPN or a configuration profile that sets DNS, it may override your manual settings. Always check for profiles in Settings > General > VPN & Device Management.
- Assuming the fix is on the iPhone only. If the issue is on a home network, the router is often the culprit. Changing only your iPhone’s DNS may not work if the router forces its own DNS.
Tips
- Use a reputable DNS provider that supports DoH/DoT. Cloudflare, Google, and Quad9 all support encrypted DNS. Check their official documentation for the correct server addresses.
- Test your DNS with a browser. After changing DNS, visit a site like
1.1.1.1/help(Cloudflare’s test page) to confirm encrypted DNS is working. It will show “Connected” if DoH is active. - Keep your iOS updated. Apple periodically improves DNS handling. Update to the latest iOS version to get bug fixes.
- If you’re on a corporate or school network, contact the administrator. They may intentionally block encrypted DNS for security or content filtering. Ask if they can allow specific DNS providers.
Troubleshooting
If the alert persists after trying the steps above, consider the following:
- Check if the network uses a captive portal. Public Wi-Fi (like hotels or airports) often requires you to sign in via a webpage. Until you complete the sign-in, the network may block all DNS. Open Safari and try to load any page; if a login page appears, complete it and then test again.
- Try a different Wi-Fi network. If the alert only appears on one network, it’s almost certainly that network’s configuration. Connect to a different Wi-Fi or use cellular data to confirm.
- Restart your iPhone. A simple restart can clear temporary network caches. Press and hold the power button and volume up (or side button) until the slider appears, then slide to power off. Turn it back on after 30 seconds.
- Check for VPN interference. If you use a VPN, it may route DNS through its own servers, which could be blocked. Temporarily disable the VPN and see if the alert goes away. If so, adjust the VPN’s DNS settings.
- Reset the router. If you have access to the router, power-cycle it (unplug for 30 seconds, then plug back in). This can resolve router-level DNS issues.
- If all else fails, contact Apple Support. They can run diagnostics to see if the issue is with your device’s network stack.
Frequently Asked Questions
What does “Network is blocking encrypted DNS traffic” mean?
It means the Wi-Fi or cellular network you’re connected to is preventing your iPhone from using DNS over HTTPS or DNS over TLS. This could be due to network firewall rules, router settings, or ISP policies.
Is it safe to ignore the alert?
No. Without encrypted DNS, your DNS queries are sent in plain text, so anyone on the network (or your ISP) can see which websites you visit. It’s better to fix it or avoid using sensitive apps on that network.
Will changing my DNS to a public provider fix the issue?
Often, yes. If the network is blocking the default DNS (usually your ISP’s), switching to a public provider like Cloudflare or Google can bypass the block, provided the network allows outbound DNS traffic to those servers.
Why does the alert appear only on certain Wi-Fi networks?
Each network has its own configuration. Some routers or firewalls block encrypted DNS to enforce content filtering or to log DNS queries. If the alert appears only on one network, the issue is with that network’s settings.
Does this affect my cellular data connection?
It can. The alert may appear on cellular networks too, but it’s less common. If you see it on cellular, try resetting your network settings or contact your carrier. Usually, cellular networks allow encrypted DNS.
Can I use a configuration profile to force encrypted DNS?
Yes, you can install a DNS profile (like from Cloudflare or NextDNS) that forces DoH/DoT. Go to Settings > General > VPN & Device Management > DNS, and install the profile. However, if the network blocks the provider’s servers, the alert will still appear.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- 0x800f0922 Update Failed: Fixes That Work
- How to Record Webcam on Windows PC
- Enable or Disable Photos in Spotlight Search on iPhone
- Bond Redemption at Maturity: What Investors Need to Do
- How to Fix Secure Boot Not Enabled in Windows 11 and 10
- Rename Built-in Administrator Account in Windows 10