Block Every Ad on Your Network: AdGuard Home Setup
Companion video and what it covers
This guide is a companion to the walkthrough video Block Every Ad on Your Network: AdGuard Home Setup, which traces the full arc from DNS sinkholing basics through install, router DNS, blocklists, rewrites, encryption, and update hygiene.
The video covers, in sequence: the DNS sinkhole trick, the v1.0 beta context, an honest AdGuard Home versus Pi-hole comparison, Docker install, the bare-binary path, the first-run wizard plus router DNS, the port 53 gotcha, the dashboard and query log, blocklists plus DNS rewrites, encrypted upstream plus per-client rules, and hygiene habits.
Use this page alongside the video, following the documented settings from the official sources linked inline in each section.
Testing honesty: no live install was performed for this written companion, so install and configuration steps below follow the official docs exactly and are marked untested here wherever your system may differ.
How DNS blocking works
AdGuard Home is a free and open-source network-wide DNS server for blocking ads and trackers, as described in the AdGuard Home repository, and the official comparison notes that it shares the DNS sinkholing method with Pi-hole (comparison).
Every ad, tracker, and telemetry ping starts as a DNS lookup, with some device asking where a server lives.
AdGuard Home sits between your devices and the internet and answers those lookups itself, so real sites resolve normally while known ad and tracker domains resolve to nowhere.
Nothing needs installing on the TV, phone, console, or smart plug, which is why devices that could never run a browser blocker are covered too.
Set one DNS address across the network and the whole house goes quiet, with per-device rules layered on later.
Beta versus stable: pick your lane
On October 2, 2026 AdGuard announced the v1.0 beta as a shift from quiet maintenance into active development, with a cleaner redesigned interface, a lighter rebuilt frontend, a responsive mobile UI, a friendlier setup wizard, and automated filter update intervals (beta announcement).
If you run AdGuard Home already, the announcement says to stay on stable for now and back up first, saving AdGuardHome.yaml plus the data directory before touching a beta.
The Docker switch it documents is moving the image tag from :latest to :beta, then recreating and restarting the container.
The stable lane at the time of the video research was v0.107.79, the latest stable listed on the releases page, so treat beta as the testing lane and stable as the safe lane.
Version history context from the announcement: the project began as a 2018 preview, counted through the v0.100 to v0.107 series, and v1.0 adopts flexible versioning where minors may include backwards-incompatible changes.
Install path one: Docker
This is the documented homelab path using the official adguard/adguardhome image, following the Docker wiki exactly and untested here.
Pull the image with docker pull adguard/adguardhome, substituting adguard/adguardhome:beta only if you deliberately want the beta lane.
Persist two volumes across updates: /opt/adguardhome/work for working data and /opt/adguardhome/conf for configuration, mapped from directories you create on the host.
Map plain DNS with 53:53/tcp and 53:53/udp, the admin panel and setup ports with 3000:3000/tcp plus 80:80/tcp and 443:443/tcp with 443:443/udp, encrypted DNS with 853:853/tcp and 853:853/udp plus 5443:5443/tcp with 5443:5443/udp, and DHCP only if you plan to use it with 67:67/udp and 68:68/udp.
Create and run the container with --restart unless-stopped and --name adguardhome, then open http://127.0.0.1:3000/ or your host address on port 3000 for the wizard.
If you want AdGuard Home to see true client IPs, or to serve DHCP from Docker, add --network host instead of port mappings, noting the docs say host networking works on Linux hosts only.
Updates are image updates: docker pull adguard/adguardhome, then docker stop adguardhome and docker rm adguardhome, then recreate the container from the new image with your volumes intact.
Install path two: bare binary
This is the documented path for a Raspberry Pi or a repurposed machine, following the Getting Started wiki exactly and untested here.
Download the archive for your OS from the latest stable on the releases page, unpack it, and enter the AdGuardHome directory.
DNS binds to port 53, which needs privileges most of the time, so run first starts with sudo on Unix systems via sudo ./AdGuardHome and admin-privileged shells on Windows.
Register it as a system service with sudo ./AdGuardHome -s install, then manage it with AdGuardHome -s start and AdGuardHome -s stop plus AdGuardHome -s restart and AdGuardHome -s status, removing it later with AdGuardHome -s uninstall if needed.
Low-power guidance from the video research cites OpenWrt docs at roughly 50 MB of free RAM and 100 MB of storage, which fits a Pi already doing other jobs, though that sizing is untested here and worth confirming against the OpenWrt AdGuard Home page for your device.
Either install path lands in the same place: a first-run wizard listening on 0.0.0.0:3000, so pick the path that matches hardware you already own.
First-run wizard and router DNS
The wizard plus the router setting are the two steps that actually put filtering on the network, per the Getting Started wiki.
Open port 3000 in your browser, pick which interface AdGuard Home listens on, confirm DNS on port 53, and create the admin account with a strong password.
The install needs 3000/TCP free for setup, 80/TCP for the web interface, and 53/UDP plus 53/TCP for DNS, opening more only for protocols you actually enable such as DNS-over-HTTPS.
The easy whole-network option is the router: open its DHCP and DNS settings, usually at an address like http://192.168.1.1/, and put your AdGuard Home IP in the DNS field so every DHCP client flows through the filter within minutes.
Setup card: router DHCP to DNS field — rewrites beat bookmarks (Still from the walkthrough video.)
If the router cannot set custom DNS, fall back to per-device DNS on each machine or let AdGuard Home become the DHCP server, which needs a static IP and is documented as not supported on Windows (DHCP wiki).
Keep the admin interface on the LAN only, never exposed to the internet, and confirm clients are flowing through by watching the dashboard query log before tuning anything.
Blocklists, rewrites, DHCP, and per-device rules
Blocking runs on filter lists plus local names plus per-client policy, and the v1.0 beta refreshes exactly these screens with blocklists, allowlists, DNS rewrites, user rules, and automated update intervals (beta announcement).
Start from the sane defaults, which ship with the AdGuard DNS filter family plus curated companions and a default allowlist that catches mistakes, then add one quality curated list rather than stacking lists that fight each other.
Turn on automatic filter updates where the beta offers scheduled intervals, so lists refresh without manual attention.
Use the query log as your network map: give it a day, find the chattiest domains and clients, and block or allow directly from log entries into custom rules, which is untested here beyond the documented flow.
Use DNS rewrites as the homelab secret weapon by mapping names like nas.lan or printer.lan to local IPs, giving yourself local names with no public DNS and no memorized port numbers.
Treat the built-in DHCP server as the option of last resort when router DNS is unavailable: it needs a static IP, sets itself as the client DNS by default, uses a 24-hour default lease, and is unsupported on Windows (DHCP wiki).
Level up with encrypted upstream DNS over HTTPS, TLS, QUIC, or DNSCrypt so the ISP sees noise while devices still ask your server first, a direction AdGuard Home supports natively in both directions per the comparison.
Shape clients individually by IP or MAC with strict lists for the living-room TV, safe search and adult-content filtering for kids devices, and lenient rules for your workstation.
Honest limits, troubleshooting, and hygiene
DNS filtering is high-leverage but not magic, and the video is upfront that browser blockers still do things DNS cannot, which matches AdGuard's own note that sinkholing blocks a large share of ads while lacking the flexibility of traditional blockers (comparison).
Comparison card: batteries included — encrypted DNS and parental controls native (Still from the walkthrough video.)
Set YouTube expectations honestly: DNS blocking does not reliably strip in-video or same-domain sponsored ads the way browser cosmetic filtering can, so treat a quieter network plus tracker blocking as the win rather than zero YouTube ads.
If port 53 is taken on Ubuntu or Debian hosts, the usual occupant is the systemd-resolved stub listener on 127.0.0.53:53, so check listeners with ss and resolver state with resolvectl status, then apply the documented fix of setting DNSStubListener=no with DNS=127.0.0.1 and relinking resolv.conf before restarting resolved (Docker wiki resolved section).
In Docker, prefer --network host or a macvlan address when bridge port mapping fights you over DNS or DHCP ports.
Advanced card: encrypt up, shape clients — DoH upstream, per-device rules (Still from the walkthrough video.)
Treat the box as infrastructure: update promptly after a critical 2026 authentication-bypass fix reminded self-hosters that unpatched filtering feels safe while it is not (NVD record), keep the admin UI firewalled to the LAN with a strong password, and back up AdGuardHome.yaml plus the data directory before every upgrade.
If the beta tempts you, snapshot first and accept that beta minors may break compatibility, keeping stable v0.107.x as the safe lane until v1.0 finalizes.
Keep building your homelab
If this was your first always-on service, make it robust by virtualizing next: the Proxmox 9 homelab server guide turns spare hardware into a virtualization host where AdGuard Home can live beside your other services.
Suggested evening checklist: install by Docker or binary, survive the port 53 check, point router or device DNS at the server IP, add one curated list with auto-updates, write rewrites for homelab names, encrypt the upstream, shape per-client rules, and verify backups plus LAN-only admin access.