Skip to content

Ad-blocking DNS servers

Last updated: October 31, 2026

A browser ad blocker only works inside that browser. The ads in your phone apps, games and smart TV keep coming. An ad-blocking DNS fixes that for the whole device: it refuses to look up the addresses of ad and tracking servers, so those ads never load. You set it once, it costs nothing, and you don't install anything. Here are the free ones that work right now, with every address you need.

Ad-blocking DNS servers compared

DNSPrivate DNS hostnameBlocksGood to know
AdGuard DNSdns.adguard-dns.comAds, trackersAds, trackers. Free, no sign-up
Control Dp2.freedns.controld.comAds, trackers, malwareAds, trackers, malware. Free, no sign-up
DNS4EUnoads.joindns4.euAds, trackers, malwareAds, trackers, malware. Free, EU-backed, meant for people in Europe
dnsforgednsforge.deAds, trackers, malwareAds, trackers, malware. Free, German, runs on donations
LibreDNSnoads.libredns.grAds, trackersAds, trackers. Free, encrypted DNS only, so not for routers
NextDNSYour own, after you sign upThe lists you pickBlocks the lists you pick. Free for 300,000 lookups a month, then it stops filtering

DNS addresses to block ads

AdGuard DNS

SettingAddress
Private DNS (Android)
dns.adguard-dns.com
DNS over HTTPS
https://dns.adguard-dns.com/dns-query
IPv4
94.140.14.14
94.140.15.15
IPv6
2a10:50c0::ad1:ff
2a10:50c0::ad2:ff

Control D

SettingAddress
Private DNS (Android)
p2.freedns.controld.com
DNS over HTTPS
https://freedns.controld.com/p2
IPv4
76.76.2.2
76.76.10.2
IPv6
2606:1a40::2
2606:1a40:1::2

DNS4EU

SettingAddress
Private DNS (Android)
noads.joindns4.eu
DNS over HTTPS
https://noads.joindns4.eu/dns-query
IPv4
86.54.11.13
86.54.11.213
IPv6
2a13:1001::86:54:11:13
2a13:1001::86:54:11:213

dnsforge

SettingAddress
Private DNS (Android)
dnsforge.de
DNS over HTTPS
https://dnsforge.de/dns-query
IPv4
176.9.93.198
176.9.1.117
49.12.67.122
91.99.154.175
IPv6
2a01:4f8:151:34aa::198
2a01:4f8:141:316d::117
2a01:4f8:c013:29d::122
2a01:4f8:c010:8c35::175

LibreDNS

SettingAddress
Private DNS (Android)
noads.libredns.gr
DNS over HTTPS
https://doh.libredns.gr/noads

How to set up ad-blocking DNS

Android

  1. 1

    Open Network & internet

    Open Settings and tap Network & internet. On Samsung it is Connections, then More connection settings.

    Android, step 1: Open Network & internet
  2. 2

    Open Private DNS

    Tap Private DNS. It says Automatic until you change it.

    Android, step 2: Open Private DNS
  3. 3

    Choose your own hostname

    Pick Private DNS provider hostname.

    Android, step 3: Choose your own hostname
  4. 4

    Type the hostname and save

    Type the hostname from the table above, for example dns.adguard-dns.com, and tap Save.

    Android, step 4: Type the hostname and save
  5. 5

    Check it took

    Private DNS now shows the hostname. It works on Wi-Fi and mobile data, and every app uses it.

    Android, step 5: Check it took

iPhone and iPad

  1. 1

    Open Wi-Fi

    Open Settings and tap Wi-Fi.

    iPhone, step 1: Open Wi-Fi
  2. 2

    Open your network's details

    Tap the (i) next to the Wi-Fi network you are connected to.

    iPhone, step 2: Open your network's details
  3. 3

    Open Configure DNS

    Scroll down and tap Configure DNS. It says Automatic until you change it.

    iPhone, step 3: Open Configure DNS
  4. 4

    Switch to Manual

    Tap Manual.

    iPhone, step 4: Switch to Manual
  5. 5

    Add the DNS servers and save

    Remove the servers listed with the red minus buttons, tap Add Server and type the first IPv4 address, add the second the same way, then tap Save.

    iPhone, step 5: Add the DNS servers and save

This only covers that Wi-Fi network. For mobile data as well, you need a DNS profile from the provider's own setup guide.

Mac

  1. 1

    Open your Wi-Fi details

    Open System Settings, click Wi-Fi, then click Details next to the network you are connected to.

    Mac, step 1: Open your Wi-Fi details
  2. 2

    Open the DNS tab

    Click DNS in the list on the left.

    Mac, step 2: Open the DNS tab
  3. 3

    Add a DNS server

    Under DNS Servers, click +.

    Mac, step 3: Add a DNS server
  4. 4

    Type the address and click OK

    Type the first IPv4 address and press Return, click + again for the second one, then click OK.

    Mac, step 4: Type the address and click OK

Windows 11

  1. 1

    Open Network & internet

    Open Settings with Windows + I, go to Network & internet and open Ethernet or Wi-Fi, whichever you use. On Wi-Fi, then open Hardware properties.

    Windows 11, step 1: Open Network & internet
  2. 2

    Edit the DNS server

    Next to DNS server assignment, click Edit.

    Windows 11, step 2: Edit the DNS server
  3. 3

    Switch to Manual

    Change Automatic (DHCP) to Manual, then turn on IPv4.

    Windows 11, step 3: Switch to Manual
  4. 4

    Enter the addresses and save

    Type the first IPv4 address in Preferred DNS, set DNS over HTTPS to On (manual template) and paste the DNS over HTTPS address. Add the second IPv4 address as Alternate DNS, then click Save.

    Windows 11, step 4: Enter the addresses and save

Chrome

  1. 1

    Find Use secure DNS

    Open Settings, then Privacy and security, then Security, and scroll to Use secure DNS. Open the menu next to Select DNS provider.

    Chrome, step 1: Find Use secure DNS
  2. 2

    Add the DNS over HTTPS address

    Choose Add custom DNS service provider and paste the DNS over HTTPS address, for example https://dns.adguard-dns.com/dns-query.

    Chrome, step 2: Add the DNS over HTTPS address

This only covers Chrome, not the other apps on your device.

Router

Open your router's settings page, find the DNS fields (often under WAN or DHCP) and enter the two IPv4 addresses. Every device on your Wi-Fi then uses it, including smart TVs that have no DNS setting of their own. LibreDNS won't work here, because it only takes encrypted lookups.

Note: Addresses are from each provider's own setup page as of October 31, 2026. Mullvad's free DNS is not listed because it shuts down on November 2, 2026.

Comments

0

Share your thoughts, questions, or feedback about this guide.

Leave a Comment

0/2000