How to Change DNS on iPhone (2026): Settings, Router or DNS Changer

By Paul Snyman · ยท 6 min read

Every time you type a website address into Safari, something invisible happens before the page loads: your device asks a DNS server to translate that human-readable name into a numerical IP address. This process is called DNS resolution, and the server you use for it has a bigger impact on your browsing experience than you might think.

The short answer. On iPhone, DNS is set per WiFi network: Settings, WiFi, the (i) next to your network, Configure DNS, Manual, then add servers such as 1.1.1.1 and 1.0.0.1. To change it for every device at home, set it on your router instead, and for encrypted DNS that also covers mobile data, a DNS changer app such as Cloudflare's 1.1.1.1 installs it system-wide. PingKit's DNS Lookup then queries through whichever resolver the iPhone is using, so you can check the change took.

Download Free on the App Store

DNS Lookup and My Network are free, with all 19 tools. No ads, no account.

What Is DNS?

DNS stands for Domain Name System. Think of it as the internet's phone book. When you type "google.com" into your browser, your device doesn't know how to reach "google.com" directly. It needs to look up the IP address, something like 142.250.217.78, and that lookup is handled by a DNS server.

This happens for every website, every app that connects to the internet, every API call. Your iPhone makes hundreds of DNS queries per day, and each one adds a small amount of time before the actual connection begins.

Why Your Default DNS Might Be Slow

By default, your iPhone uses whatever DNS server your router provides, which is usually your ISP's DNS server. ISP DNS servers work, but they're often not optimised for speed. They may be:

How to test: Use PingKit's DNS Lookup tool to query a domain and see how long resolution takes. It asks whichever resolver your iPhone is set to, so to compare your ISP's DNS with alternatives like Cloudflare (1.1.1.1) or Google (8.8.8.8), run the lookup, change the iPhone's DNS as shown below, and run it again.

The Best Alternative DNS Servers

Cloudflare (1.1.1.1)

A fast public resolver on Cloudflare's network, which reaches more than 300 cities. Cloudflare says it never writes your IP address to disk and deletes its logs within 25 hours. They also offer 1.1.1.2 (Cloudflare's filtered resolver) and 1.1.1.3 (the same filter, plus adult content).

Google (8.8.8.8)

Reliable and fast with a massive global infrastructure. Google does log some data for diagnostic purposes but doesn't use it for ad targeting. IPv6: 2001:4860:4860::8888.

Quad9 (9.9.9.9)

A non-profit DNS service that automatically blocks known malicious domains. Good choice if security is your priority. Slightly slower than Cloudflare but adds a layer of protection.

How they compare

You can test which DNS server is fastest from your location by using PingKit's Ping tool to check latency to each one. The differences might seem small (5ms vs 20ms), but they add up across hundreds of requests per day.

How to Change DNS on iPhone

Per-network (affects only the current WiFi network):

  1. Open Settings > WiFi
  2. Tap the info (i) button next to your connected network
  3. Scroll down and tap Configure DNS
  4. Switch from Automatic to Manual
  5. Remove the existing DNS servers
  6. Add your preferred servers (e.g., 1.1.1.1 and 1.0.0.1)
  7. Tap Save

Important: This setting only applies to the specific WiFi network you configured. When you connect to a different network, it'll use that network's default DNS. You'll need to set it up for each WiFi network individually.

Network-wide (recommended):

For a better solution that covers all devices on your home network, change the DNS settings on your router instead:

PingKit on iPhone showing the local IP, gateway and subnet mask, then the DNS resolver in use and whether the connection to it is encrypted.
Checking it took. The resolver actually in use, named rather than left as an address, next to whether the connection to it is encrypted.
  1. Log into your router's admin panel (usually 192.168.0.1 or 192.168.1.1)
  2. Find the DNS settings (often under WAN, Internet, or DHCP settings)
  3. Replace the ISP-provided DNS servers with your preferred ones
  4. Save and restart the router

This way, every device on your network (phones, laptops, smart TVs, game consoles) benefits from the faster DNS server without any per-device configuration.

DNS and Privacy

Standard DNS queries are sent in plain text. This means your ISP (and anyone monitoring your network) can see every domain you visit. Two protocols fix this:

On iPhone, you can enable encrypted DNS by installing a DNS profile. Cloudflare offers one at 1.1.1.1: download their free app "1.1.1.1: Faster Internet" to enable DoH system-wide.

Common DNS Problems

PingKit's DNS Lookup tool lets you query specific record types (A, AAAA, MX, CNAME, TXT) and shows the response time for each, making it easy to diagnose these issues.

Related Articles

Test and Debug DNS with PingKit

Query DNS records and diagnose resolution issues with PingKit's DNS Lookup tool.

Download PingKit