All videos

How To Setup And Change DNS Server On iPhone (Block Ads)

Download the full PDF guide

Free. Enter your email and the PDF downloads right away. You also join my weekly email newsletter. Unsubscribe any time. Privacy

Tired of ads on the websites you read? You can point your iPhone at a DNS server that blocks ad requests. It takes about two minutes on your Wi-Fi network.

How DNS Blocks Ads

When you open a website, your iPhone sends a request asking for that page. A DNS server sits in the middle of that request. An ad-blocking DNS server lets the page you asked for come through. It blocks the extra requests the website makes to load advertisements.

I set this up for one Wi-Fi network at a time. Most people do it for their home or work Wi-Fi.

Clear The Current Servers

Your Wi-Fi network already has DNS servers filled in for you. I remove those first, so the iPhone only uses the new ones.

  1. Settings: open it from your Home Screen.
  2. Wi-Fi: tap it near the top of Settings. You see your list of networks.
  3. i: tap the small blue i to the right of the Wi-Fi network you are connected to. The page for that network opens.
  4. Configure DNS: scroll toward the bottom of the page and tap it. It is set to Automatic.
  5. Manual: tap it. The current servers show in a list under DNS Servers.
  6. Minus: tap the red minus button to the left of the first server.
  7. Delete: tap it on that same row. The server is gone from the list.
  8. Minus and Delete again: do the same for each server left, until the list is empty.
  • Tap
  • Settings
  • Wi-Fi
  • i
  • Configure DNS
  • Manual
  • Minus
  • Delete

Block Ads With AdGuard

Now the iPhone needs the address of the new DNS server. I use AdGuard DNS, a commonly used public one that blocks ads. Its website lists two addresses, and you copy each one into Settings.

  1. Add Server: tap it under DNS Servers. An empty row appears. Leave Settings open in the background.
  2. Safari: go to your Home Screen and open it.
  3. adguard dns: type it in the Safari search bar and tap the suggestion. The search results load.
  4. Connect to public AdGuard DNS server: tap that result. The AdGuard page opens.
  5. Our server addresses: scroll down the page and tap it. A list of server types opens.
  6. Plain DNS: tap it. Two addresses show: 94.140.14.14 and 94.140.15.15.
  7. Copy: tap the two small squares next to 94.140.14.14. A check mark shows it copied.
  8. Settings: switch back to it. You are still on the Configure DNS page.
  9. Paste: tap the empty server row, then tap Paste. The row now reads 94.140.14.14.
  10. Add Server: tap it again. A second empty row appears.
  11. Safari: switch back to the AdGuard page.
  12. Copy: tap the two small squares next to the second address, 94.140.15.15.
  13. Settings: switch back to it one more time.
  14. Paste: tap the second empty row, then tap Paste. It now reads 94.140.15.15.
  15. Save: tap it at the top right. Your new DNS servers are set for this Wi-Fi network.
  16. Safari: open it and load any website. The page now loads through the new DNS server.

The change only covers this one Wi-Fi network. Repeat the steps on any other Wi-Fi network where you want it.

  • Tap
  • Add Server
  • Safari
  • adguard dns
  • Connect to public AdGuard DNS server
  • Our server addresses
  • Plain DNS
  • Copy
  • Settings
  • Paste
  • Add Server
  • Safari
  • Copy
  • Settings
  • Paste
  • Save
  • Safari

Watch this on YouTube and ask your question in the comments.

Free iPhone guide

Get my 20 iPhone Settings To Fix Today

  • Free now Join the free waitlist and the guide comes by email right away. After that, I send one useful iPhone tip about once a week.
  • Paid, later iPhone 101 is my full video course. It will cost under $100, one payment, and opens early 2027. The waitlist hears first.

unsubscribe link in every email