AdGuard Home: Stop Ads & Trackers for Your Entire Family

The 2026 AdGuard Home guide: copy-paste recommended blocklists, optimize upstream DNS settings, block malware, and set up parental controls network-wide.

AdGuard Home: Stop Ads & Trackers for Your Entire Family
AdGuard Home: Stop Ads & Trackers for Your Entire Family
Table of Contents (13 sections)

How often have you encountered the scenario where you search something and suddenly everywhere you go, you start seeing ads for it. Or, when you try to read a news article and you can barely read anything with all the ads showing up.

example of a website filled with full page ads
example of a website filled with full page ads

Although you might use apps like Firefox or extensions such as Adblock, they must be installed on every device, which is often impractical.

I faced a similar issue because my family, like many others, isn't tech-savvy. I needed a solution that could be implemented to shield them from ads and malware without requiring any changes on their part.

Enter, AdGuard Home

AdGuard Home is an open-source, network-wide DNS server that blocks ads, telemetry, and tracking domains before they ever reach your smartphones, laptops, smart TVs, or IoT devices.

In this guide, we'll cover how to install AdGuard Home, configure the best 2026 blocklists, optimize upstream DNS settings, and deploy it across your entire home network.

🤖
Let's assume we're working in a Linux environment (such as a Raspberry Pi, Debian mini PC, or Docker container), as it simplifies 24/7 reliability. However, the installation and web interface steps are identical across platforms.

Installation

Head over to the AdGuard Home Automated Install. Installing AdGuard is as simple as running a single command.

To install with curl run the following command:

shell
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

To install with wget run the following command:

shell
wget --no-verbose -O - https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

This installs the AdGuard Home service, which will act as your local recursive/forwarding DNS server.

What is DNS?

DNS stands for Domain Name System. In simple terms, it is the internet's address book. Every website you visit has an underlying IP address (e.g. 66.11.184.216). When your browser asks for google.com, DNS translates that human-friendly name into the server's IP address. By acting as your DNS server, AdGuard Home inspects domain requests and instantly drops requests to known advertising, tracker, and phishing domains.


Setting Up AdGuard Home & Web Interface

After installation, the setup wizard starts on port 3000. Open your browser and navigate to http://<your-server-ip>:3000.

Step 1: Click Get Started.

AdGuard Home Get Started page
AdGuard Home Get Started page

Step 2: Configure Admin Web Interface & DNS Port.

  • By default, the admin web UI listens on port 80. If you already run a web server (like Nginx or Traefik), change the admin port to 3000 or 8080.
  • Keep the DNS server port on 53 (standard DNS port).

AdGuard Home network port configuration page
AdGuard Home network port configuration page

Step 3: Set your admin username and password.

AdGuard Home admin credentials setup
AdGuard Home admin credentials setup

Once the wizard completes, log into the dashboard at http://<your-server-ip>:3000.


To add blocklists, go to Filters → DNS blocklists → Add blocklist → Add a custom list in your AdGuard Home dashboard.

Here is our curated, tested stack of blocklists that provides maximum protection with zero false positives (safe for family use without breaking online banking or streaming):

Blocklist NameFocus CategoryRecommended Source URLBest For
AdGuard DNS FilterAds & Trackershttps://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txtCore ad blocking
OISD Basic / BigUniversal Ad & Telemetryhttps://big.oisd.nlZero false positives (Family-safe)
Peter Lowe's ListAd & Tracking Servershttps://pgl.yoyo.org/adservers/serverlist.php?hostformat=adblockplus&showintro=0&mimetype=plaintextHigh performance & lightweight
Steven Black Unified HostsMalware + Adwarehttps://raw.githubusercontent.com/StevenBlack/hosts/master/hostsMalicious domain protection
Phishing URL BlocklistPhishing & Scamshttps://adguardteam.github.io/HostlistsRegistry/assets/filter_30.txtSecurity & Anti-Phishing
AdGuard Popup HostsAnnoying Popupshttps://adguardteam.github.io/HostlistsRegistry/assets/filter_11.txtNotification & popup spam

AdGuard Home DNS blocklist settings
AdGuard Home DNS blocklist settings


To maximize speed and prevent ISP snooping, navigate to Settings → DNS Settings and configure encrypted upstream DNS providers (DoH / DoT):

Upstream DNS Servers (Copy & Paste)

text
https://dns.quad9.net/dns-query
https://cloudflare-dns.com/dns-query
https://dns.adguard-dns.com/dns-query

Optimal DNS Settings:

  • Upstream mode: Parallel requests (queries all upstream servers concurrently and uses the fastest response).
  • DNS cache size: 67108864 (64 MB cache for instant sub-millisecond local responses).
  • Optimistic caching: Enable (serves cached responses while refreshing stale entries in background).

Can AdGuard Home Block YouTube Ads in 2026? (The Truth & Workarounds)

One of the most frequent questions homelabbers ask is: "Can I block YouTube ads network-wide using AdGuard Home?"

The short answer: No, not via DNS alone.

Why? Google serves YouTube video advertisements from the exact same content delivery networks (CDNs) and domain names (e.g., *.googlevideo.com) as the real video you are trying to watch. If AdGuard Home blocks that domain, the YouTube video will simply fail to buffer.

Effective Workarounds for YouTube Ads:

  1. Desktop / Mobile Browser: Use uBlock Origin or the Brave Browser, which perform deep cosmetic and request filtering inside the browser DOM.
  2. Android & Android TV: Use open-source third-party clients like SmartTube (for Android TV) or ReVanced (for Android smartphones).
  3. Parental Controls on AdGuard: While it cannot block YouTube ads, AdGuard Home can enforce YouTube SafeSearch or schedule full blocking of YouTube during study hours under Filters → Blocked Services.

Deploying AdGuard Home to All Devices (Router Level)

To protect your entire house without configuring every phone, tablet, and TV individually, set AdGuard Home as your home router's primary DNS server.

  1. Log into your Wi-Fi router's admin panel (typically 192.168.1.1 or 192.168.0.1).
  2. Navigate to DHCP Settings / LAN Settings / DNS.
  3. Set Primary DNS Server to your AdGuard Home IP address (e.g. 192.168.1.150).
  4. Set Secondary DNS Server to your backup DNS or leave blank.
  5. Save and reboot your router.

TP-Link Router DHCP DNS settings example
TP-Link Router DHCP DNS settings example

Once refreshed, every phone, laptop, and smart appliance connecting to your Wi-Fi will automatically query AdGuard Home, blocking ads and tracking seamlessly.


Parental Controls & Service Scheduling

AdGuard Home includes built-in service blocking under Filters → Blocked services.

Adguard Home block services eg., youtube, tiktok
Adguard Home block services eg., youtube, tiktok

You can toggle one-click restrictions on specific platforms (TikTok, Roblox, Discord, adult domains) or schedule service downtime for bedtime:

Adguard home schedule service blocking
Adguard home schedule service blocking


Frequently Asked Questions

What are the best AdGuard Home blocklists to use in 2026?

The ideal blocklist stack includes AdGuard DNS Filter (standard ad/tracker blocking), OISD Big or Small (near-zero false positives, family-friendly), StevenBlack Unified Hosts (malware and adware), and Peter Lowe's Ad and Tracking server list.

Can AdGuard Home block YouTube ads?

No. DNS-based blockers cannot reliably block YouTube ads because Google serves video advertisements from the same first-party media domains as the actual video streams. Blocking those domains breaks video playback. Use client-level tools like uBlock Origin (browser) or SmartTube (Android TV) for YouTube.

What are the best upstream DNS servers for AdGuard Home?

For privacy and speed, configure encrypted DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT) upstream servers like Quad9 (https://dns.quad9.net/dns-query) for malware protection, Cloudflare (https://cloudflare-dns.com/dns-query), or AdGuard DNS (https://dns.adguard.com/dns-query).

Does AdGuard Home slow down your internet speed?

No. In fact, AdGuard Home speeds up initial page load times by caching DNS lookups locally and preventing resource-heavy ad trackers, pop-ups, and telemetry scripts from downloading to your devices.

How do I configure AdGuard Home at the router level?

Log into your Wi-Fi router admin page, navigate to DHCP/LAN Settings, and replace the primary DNS server IP with the static local IP address of your AdGuard Home machine (e.g., 192.168.1.150).

Seriesin series:Homelab

Explore sequential deep-dives and engineering guides in this series.

Discussion & Comments

Share your thoughts, ask questions, or leave feedback below.

No comments yet