How to Change DNS Servers on an iPhone

An iPhone can use manually chosen DNS servers to look up the addresses associated with website and service names on a Wi-Fi connection. Open that network's Configure DNS setting, select Manual, and save the resolver addresses you want to use. This changes the phone's settings for that network, without changing the router or other devices connected to it.
The manual Wi-Fi setting does not change cellular DNS or apply to every other Wi-Fi network the phone joins. It also does not create a VPN tunnel or establish that all DNS queries are encrypted. Record the existing DNS configuration first so you can restore it if the change causes problems.
Open the Connected Wi-Fi Network Details
Connect to the Wi-Fi network you want to change. Open Settings, tap Wi-Fi, then tap the information button beside that network. Scroll to Configure DNS and note whether the current setting is Automatic or Manual. Check the network name carefully, especially if several nearby networks have similar names.
If Manual is already selected, write down every listed server address before replacing one. If Automatic is selected, note that the network supplies the DNS settings; returning to Automatic restores that behavior without requiring you to copy the displayed addresses. Keep any search domains and other network settings unchanged unless the network administrator has supplied different instructions.
On a school or workplace network, the designated resolver may be necessary for internal names or required filtering. Confirm that a public resolver is appropriate before replacing it. At a hotel or airport, complete the Wi-Fi sign-in page before testing new DNS settings; a connection waiting for sign-in may not yet permit ordinary internet access.
Enter the Resolver Addresses
Choose one DNS service and the filtering policy you intend to use. Cloudflare's standard IPv4 addresses are 1.1.1.1 and 1.0.0.1; Google Public DNS uses 8.8.8.8 and 8.8.4.4. Enter the pair for your chosen service, rather than all four addresses. Filtering services may use different addresses, so confirm the specific service before entering its values.
Tap Configure DNS, select Manual, and use Add Server to enter each address separately. Remove existing server entries you no longer want to use, keeping your saved copy for rollback. Leaving an old resolver alongside the new ones means a lookup may still use the old service; the second entry is not a dependable way to apply a different filtering policy only when the first one fails.
The field accepts a DNS server's IP address, rather than a website address or an HTTPS endpoint. IPv6 addresses are also supported when the network can reach them. For Cloudflare's standard service, these are 2606:4700:4700::1111 and 2606:4700:4700::1001. Check each entry for typing errors, then tap Save.
Changing Configure DNS does not require switching Configure IP to Manual. Keep the phone's existing IP configuration, router address, and subnet information. Altering those settings at the same time can break the connection and make it harder to determine whether a subsequent failure concerns DNS or basic network access.
Account for Encrypted DNS and Private Relay
The saved server list is one part of DNS configuration. A VPN, a DNS configuration profile, or an app that handles its own DNS can use a different resolver for some or all of its queries. Check which of these is active before interpreting a result from a browser as evidence about the Wi-Fi setting.
iCloud Private Relay introduces another distinction. Traffic carried by Private Relay does not use an unencrypted resolver entered manually in the Wi-Fi settings. An active custom encrypted DNS configuration from an app or profile can supply the resolver used before traffic enters Private Relay. The presence of a manual IP address alone therefore does not identify the resolver used for a Safari request.
Manual entries also do not establish whether a query traveled unencrypted. On supported iOS versions and networks, the phone can discover an encrypted service offered by its resolver and use it automatically. Encryption depends on the actual connection and any applicable configuration, not simply on the fact that Manual is selected.
Verify DNS on the Same Wi-Fi Connection
Reopen Configure DNS for the connected network and confirm that Manual and the intended addresses were saved. Then open more than one known public website and a site you actually need. A successful page load confirms useful connectivity, but does not by itself identify the resolver or show that every app uses the same DNS settings.
Keep cellular data out of a comparison intended to test Wi-Fi DNS. Depending on the iOS version, Wi-Fi Assist or Connectivity Assist can use cellular data when Wi-Fi is unreliable. Temporarily turn cellular data off for a Wi-Fi-only test, then restore its previous setting afterward. Otherwise, a page that appears to work may have loaded over a different connection.
A resolver identification check in a browser can provide more specific evidence than simply opening a page. Interpret its result for that browser session, including any VPN, Private Relay, or app-specific DNS configuration that applies. If it identifies an unexpected resolver, examine those settings and the full saved server list before replacing addresses again.
Cached DNS answers can obscure an immediate before-and-after comparison. Use more than one hostname, and distinguish a fresh lookup from reopening a page whose address is already known. Record the failing name, network, app, and exact error. If public names work but a private work name fails, the public resolver may lack the internal information provided by the original network resolver.
Restore the Previous DNS Configuration
If failures began after the change, return to the same network's Configure DNS page. Select Automatic if that was the original setting, or restore the exact saved server list if it was Manual. Save the configuration and repeat the same checks on the same Wi-Fi network. Restoring Manual values and switching to Automatic are different actions; choose the one that matches the earlier working setup.
If the original configuration works again, check the new resolver addresses and whether the network permits that DNS service before trying another change. If the failure persists after rollback, check the Wi-Fi sign-in status and whether other devices can use the network. A problem confined to one website or app requires different troubleshooting than failures involving many unrelated names.







