How to Change DNS on iPhone: Wi-Fi and Mobile Data Guide

Sunucun 3 min read

Changing DNS on iPhone means replacing the DNS server your phone uses to resolve domain names with a provider such as Cloudflare, Google or Quad9. The most common reasons are sites that won’t open, DNS-related slowness, or wanting to block ads and malicious sites.

Illustration: DNS

In this article we explain how to change DNS for Wi-Fi on iPhone and iPad, the options for using encrypted DNS on mobile data, and common problems.

Common DNS Addresses

ProviderIPv4 addresses
Cloudflare1.1.1.1 and 1.0.0.1
Google8.8.8.8 and 8.8.4.4
Quad99.9.9.9 and 149.112.112.112
Yandex (Basic)77.88.8.8 and 77.88.8.1

For Yandex’s safe and family modes, see our article Yandex DNS.

Changing Wi-Fi DNS on iPhone

  1. Open Settings → Wi-Fi.
  2. Tap the (i) icon next to the network you’re connected to.
  3. Scroll down and tap Configure DNS.
  4. Choose Manual.
  5. Delete the existing DNS addresses with the red minus icon.
  6. Tap Add Server and add the new addresses (e.g. 1.1.1.1 and 1.0.0.1) one by one.
  7. Tap Save in the top right.

This setting applies only to that Wi-Fi network. When you connect to another network, you need to repeat it for that network. To revert, choose Automatic on the same screen.

Can DNS Be Changed on Mobile Data?

iOS has no direct DNS setting for mobile data connections. If you want a different DNS on mobile data too, there are two methods:

  • A DNS app: apps such as Cloudflare’s 1.1.1.1 app turn on encrypted DNS on all connections (Wi-Fi and mobile data).
  • A configuration profile: some DNS providers offer a configuration profile that turns on encrypted DNS (DNS over HTTPS or DNS over TLS). After installing the profile, enable it under Settings → General → VPN & Device Management; the encrypted DNS setting appears under Settings → General → VPN & Device Management → DNS.

Download profiles only from the provider’s official site; profiles of unknown origin can redirect your traffic.

Is the DNS Change Working?

  • If you use Cloudflare, open 1.1.1.1/help in Safari to see whether your connection is using Cloudflare DNS.
  • If sites that wouldn’t open now open, the change has taken effect.

If the Internet Doesn’t Work After Changing DNS

  1. Check that you typed the addresses correctly; there should be no spaces in the address field.
  2. Set DNS back to Automatic and try again.
  3. On networks with a login page, such as hotels and cafés, the login page may not open; sign in with automatic DNS first, then change it.
  4. VPN or DNS apps may override your settings; turn them off temporarily.
  5. If needed, go to Settings → General → Transfer or Reset iPhone → Reset → Reset Network Settings (saved Wi-Fi passwords are deleted).

If you get a certificate or secure connection error in Safari, see our guide Safari can’t establish a secure connection.

How It Relates to iCloud Private Relay

If you’re an iCloud+ subscriber and Private Relay is on, traffic and DNS queries in Safari pass through Apple’s relay infrastructure. In that case, the DNS you set manually may not be used in Safari. You can turn off Private Relay for a specific network in the network details in Wi-Fi settings.

Frequently Asked Questions

Is changing DNS on iPhone safe?

It’s safe as long as you use well-known, trusted providers. DNS addresses of unknown origin can redirect you to fake sites.

Does changing DNS lower game ping?

No. DNS only affects address resolution before a connection is made; it doesn’t change latency during the game.

Can changing DNS get me into blocked sites?

Changing DNS to access sites blocked by legal regulations may create legal liability. We recommend using DNS settings for speed, security and privacy.

Are the steps the same on iPad?

Yes, the Wi-Fi DNS setting on iPadOS uses the same steps as on iPhone.

Categories

Latest guides