Insights

How to change DNS on your iPhone

Set DNS for one iPhone Wi-Fi network, check what saved, and restore Automatic. Cellular DNS needs a separate configuration.

Illustration of iPhone with a slide-in address plate.
On this page

On your iPhone, open Settings > Wi-Fi and tap the info button next to your connected network. Open Configure DNS, choose Manual, then use Add Server to enter your Domain Name System (DNS) server addresses and tap Save.

In short:

  • Change one network. Manual DNS applies only to the Wi-Fi network you edit.
  • Restore the default. Choose Automatic in that network's Configure DNS menu.
  • Check cellular coverage. A manually installed encrypted DNS profile can also cover mobile data.

Set DNS for the Wi-Fi network you're on

A DNS resolver is the server that looks up domain names for your phone. Have your chosen resolver's addresses ready before you start.

  1. In Settings > Wi-Fi, tap the info button next to the network you're connected to.
  2. Tap Configure DNS, then select Manual.
  3. Tap Add Server and enter one address. Tap Add Server again for each additional address.
  4. Use the minus button to remove any old entries you don't want to keep, then tap Save.

For example, if you want to use these public resolver addresses, enter 207.207.200.200 in one server entry and 207.207.201.201 in a second, then save. You don't need to join a private network to use them. The edit leaves other Wi-Fi networks and cellular data unchanged.

Check what saved and switch back if needed

  1. Check the saved entries. Reopen Configure DNS for the same Wi-Fi network. For the example above, you should see Manual and both addresses. If an address is missing, check that you opened the right network, then add the address and save again.
  2. Try browsing. Open a website while connected to that Wi-Fi network. If it loads, you know browsing still works. Neither a loaded page nor the saved addresses tells you which resolver answered a lookup.
  3. Switch back if needed. If browsing stopped working or you want the network's default DNS back, choose Automatic in the same menu and tap Save. If the website didn't load before, try it again.

What to check if you need cellular or encrypted DNS

Typing a resolver address into Configure DNS doesn't encrypt your lookups. For encryption, use a separate configuration that supports DNS over Hypertext Transfer Protocol Secure (HTTPS) or DNS over Transport Layer Security (TLS).

If you want the same resolver on Wi-Fi and mobile data, check how the profile was installed. Apple's DNS Settings payload, the part of a profile that holds the DNS configuration, can also apply to cellular when installed manually. The same payload installed through mobile device management (MDM) applies only to managed Wi-Fi networks.

Check that the profile names the resolver you want and whether its rules limit when the setting applies. If work or school supplied the profile, ask the administrator to confirm the installation method and rules. Seeing the profile on your iPhone doesn't confirm cellular coverage. Apple marks this payload as deprecated starting with iOS 27, which isn't the same as removal.

Where doxx.net fits. On its private network, doxx.net encrypts DNS lookups and blocks unwanted domains. If you want those features, you can create an account, download the app and connect a device.

Ask an AI assistant

Share this article

Private Everywhere

Stop giving the internet everything

Keep your browsing, messages, files, and agents private.