Start with the packet, not the dashboard. When a laptop on your LAN looks up a name your resolver has not cached, that lookup makes two trips. The first is client to LAN resolver: an ordinary DNS query to port 53, in cleartext, exactly as it was before you installed anything. The second is LAN resolver to upstream, and that is the only leg DNS-over-HTTPS[1] (DoH) changes here, by mapping each query and response onto an HTTPS exchange. AdGuard Home can make that second trip over DoH by itself, which in many Pi-hole setups replaces a separate DoH forwarder. The first trip stays as it was unless you also build an encrypted listener and point clients at it. A nicer dashboard does not negotiate encryption on anyone's behalf, whatever the feature grid implies.
Keep the two legs apart when you compare products, and compare against the Pi-hole you actually run today. Pi-hole v6[2] embedded its REST API and web server in the pihole-FTL binary and no longer needs lighttpd or PHP, so a comparison that counts those processes describes software that has moved on.
Decide What Is Actually Changing
| Job | Current Pi-hole v6 | AdGuard Home |
|---|---|---|
| Local DNS filtering | FTL DNS engine with groups, lists and domain rules | Built-in DNS server with blocklists and custom filtering rules |
| Web administration | Web server embedded in pihole-FTL |
Built-in web interface |
| Encrypted upstream | A separate forwarder, such as cloudflared or dnsdist | https://, tls:// and quic:// upstream URLs entered directly in DNS settings |
| Client-to-server encryption | A separate design | Optional DoH/DoT listener, which needs a certificate and client setup |
| DHCP | Optional, configured in pihole.toml |
Optional and labelled experimental in the UI; in Docker it needs Linux host networking |
The upstream row deserves a second look if your Pi-hole leans on cloudflared. Pi-hole's own cloudflared (DoH) guide[3] now warns that the proxy-dns feature it relies on is deprecated by Cloudflare, that existing installations keep working only for a limited support window while a cloudflared updated after 2 February 2026 will no longer work as that guide describes, and that new installations by that method are not recommended. If that is your forwarder, you have an encrypted-upstream problem to solve whether or not you switch resolvers. A dnsdist proxy keeps Pi-hole and replaces only that piece; AdGuard Home folds the job into the resolver itself.
Before going further, list what your installation does today: local DNS records and CNAMEs, reverse lookups, domain-specific upstreams, DHCP leases and reservations, and per-client groups. If it is stable, name the problem the migration is meant to solve. "The marketing page had more checkmarks" is not one, and you will find out why at the first rule that does not translate.
Capture a Rollback Before Touching DNS
Export a Teleporter archive from Pi-hole's web interface (Settings → Teleporter) and copy it off the DNS host. In the current FTL release, that archive carries /etc/pihole/pihole.toml, /etc/hosts, /etc/pihole/dhcp.leases when it exists, the files in /etc/dnsmasq.d, and selected gravity and FTL database tables, including groups, adlists, domain lists and clients, according to FTL's teleporter source[4]. It cannot carry the way you start Pi-hole, so record the installed version, the install method, a container's run command or compose file, and its environment variables. On Docker that last item matters: the v6 announcement says a setting made through an FTLCONF_ variable is effectively read-only, because the variable forces the value back.
Treat pihole.toml as the authority. The v6 configuration reference[5] says FTL's options are typically managed in /etc/pihole/pihole.toml; an old setupVars.conf lying around is history, not configuration. Local DNS records are dns.hosts and dns.cnameRecords, static DHCP reservations are dhcp.hosts, and the web server's ports are webserver.port. If you keep custom files in /etc/dnsmasq.d, check misc.etc_dnsmasq_d. Its default is false, so on a v6 install those files may already be inert; confirm what is actually running before you copy anything across.
Then record the network around the resolver: the DNS address clients use, which box runs DHCP, the lease range, gateway, static reservations and the client names you rely on. If Pi-hole is the DHCP server, keep both the reservations and the active lease file; you will re-enter reservations on the AdGuard Home side, and the aim during cutover is one DHCP server at a time with no new server handing out an address an old lease still holds. Keep a local console and the resolver's IP address within reach, because a DNS outage takes out the admin hostname long before the admin interface. Rehearse the trip back to Pi-hole before changing anything in production.
Install AdGuard Home Without Losing the Old State
The cleanest rehearsal is a separate Linux host or VM with its own reserved LAN address: Pi-hole keeps serving the network while one pilot client queries AdGuard Home directly. Reusing the Pi-hole host takes more care. List the listeners with ss -lntup and look past port 53. Pi-hole v6's web server, by FTL's documented default, tries to bind 80 and 443 (webserver.port is 80o,443os,[::]:80o,[::]:443os), which collides with an AdGuard Home admin interface on 80. On a host running systemd-resolved, its stub listener can hold port 53 too; AdGuard's Docker guide[6] describes disabling DNSStubListener for exactly that conflict. Export first, then stop the Pi-hole service or container before starting the replacement. pihole disable will not do it: the pihole command reference[7] describes it as toggling Pi-hole's ability to block domains. Nothing there stops the service, so expect FTL to keep answering queries and holding its ports until you stop it.
The same Docker guide maps two persistent volumes, /opt/adguardhome/work and /opt/adguardhome/conf. The bridge-mode example below pins the current stable release, v0.107.79[8], and publishes only DNS, the setup wizard and the admin interface. The v0.108 and v1.0 builds are betas; keep them off the box that answers the whole house. Create the two host directories first. Docker publishes these mappings on the host's addresses, so set access controls before starting it and confirm nothing outside the LAN can reach DNS or the admin port. No router port-forward is involved.
docker run -d --name adguardhome --restart unless-stopped \
-v /opt/adguardhome/work:/opt/adguardhome/work \
-v /opt/adguardhome/conf:/opt/adguardhome/conf \
-p 53:53/tcp -p 53:53/udp -p 3000:3000/tcp -p 80:80/tcp \
adguard/adguardhome:v0.107.79
Open http://<new-host-ip>:3000 and run the first-run wizard. In bridge mode the wizard is looking at the container's network namespace, not the host's, so choose All interfaces for DNS on port 53 and for the web interface on port 80, then set the admin password. Picking the host's LAN IP there confuses the listener with the host-side mapping; the LAN boundary is enforced outside the container. If you pick a different final web port, recreate the container with a matching mapping.
During the pilot, read the client column in the Query Log. The Docker guide says that for AdGuard Home to see original client IPs, as opposed to something like 172.17.0.1, the container needs --network host. Per-client rules can only match the identity AdGuard Home actually sees. Its DHCP server needs the same --network host mode with the -p mappings dropped, and the guide notes the host driver works only on Linux. Switching modes changes what the listener can bind, so review the host's listeners and access policy before enabling DHCP, and revisit the wizard's interface choices instead of carrying a bridge-era setting forward.
Rebuild Rules, Do Not Assume a One-Click Import
There is no import button that turns a Pi-hole into an AdGuard Home, so collect the pieces separately: adlist URLs, exact allow and deny entries, regex entries, groups and their client assignments, and local DNS records. Add compatible subscription URLs under Filters → DNS blocklists, then sample the decisions they produce before you trust them.
Exact entries are where a careless translation quietly widens a rule. A Pi-hole exact deny for ads.example blocks that one name. In AdGuard Home's filtering syntax[9], a bare ads.example line is the equivalent, blocking the domain but not its subdomains. ||ads.example^ is the adblock-style rule AdGuard recommends for blocklists, and it blocks ads.example and every subdomain under it. That may be what you wanted, but it should be a decision rather than an accident of copy and paste. @@||ads.example^ is the matching allow. Pi-hole regex entries become /REGEX/ rules, rewritten and tested one at a time. If you used Pi-hole allow wildcards or regexes to rescue a broken site, the reasoning in Pi-hole's exact allows, wildcards and regex carries over even where the syntax does not.
Conflict handling changes too. Pi-hole's domain database[10] applies a fixed priority order in which exact allowlist entries come first and regex denylist entries come last. In AdGuard Home an @@ exception beats an ordinary blocking rule, and only a blocking rule marked $important beats the exception. Re-read any list that leaned on Pi-hole's ordering.
Pi-hole groups do not map one-to-one either. AdGuard Home's $client modifier applies a rule to an IP address, a CIDR range, or a persistent client by name: ||ads.example^$client=192.168.1.50 limits that rule to one address. A client tag uses $ctag=, and tags come from a fixed list such as device_pc or device_phone, not names you invent. Persistent clients live under Settings → Client settings, and local DNS records from dns.hosts and dns.cnameRecords belong under Filters → DNS rewrites.
Before importing a large custom list, write down the names that must resolve (banking, single sign-on, your router, your NAS) and run each through Check the filtering on the custom rules page and a real query in the Query Log. A rule you cannot explain from the checker's output is one you will end up debugging under pressure.
Set One Encrypted Upstream Deliberately
Now the second leg. In Settings → DNS settings, replace the upstream list with the DoH resolver you chose. Quad9 documents its DoH endpoint[11] as:
https://dns.quad9.net/dns-query
Then look directly below it at Bootstrap DNS servers. A DoH upstream named by hostname has a chicken-and-egg problem: something has to resolve dns.quad9.net before the HTTPS connection can start, and the configuration reference[12] describes bootstrap_dns as the servers used for that initial hostname resolution. Those servers are entered as IP addresses, and that lookup can travel as plain DNS. Keep the main upstream list limited to the encrypted resolver; a plain 9.9.9.9 line there is a regular DNS upstream, and AdGuard Home will use it for ordinary queries. Fallback DNS servers is a separate list, used when the upstreams stop responding, so leave it empty unless you have deliberately chosen a fallback whose transport you accept. A plain fallback reopens the leg you just closed during exactly the outage you are least likely to be watching.
Press Test upstreams, save, then send a fresh query from the pilot client and check its Query Log entry and the upstream it names. That log line names the upstream AdGuard Home selected, not what left the host. For that, capture traffic on the resolver's WAN-facing side and account for each flow: bootstrap lookups, private reverse DNS (PTR lookups for private addresses go to the Private reverse DNS servers you list, or to the operating system's resolvers when that field is empty), and unrelated host traffic.
This section makes AdGuard Home a DoH client. Serving DoH or DoT to your phones and browsers is a different job, configured under Settings → Encryption settings with listener ports, a certificate (the encryption guide[13] says both protocols need one), and per-client configuration. Until you build that, the first leg stays cleartext port 53; if it needs encrypting, plan it as its own project and verify each client really uses it.
Move Clients and DHCP in a Controlled Order
Start with one client and no network-wide change. Point the test client's DNS at AdGuard Home's LAN IP and run dig @<new-host-ip> example.org, followed by a name you deliberately blocked. Both should appear in the Query Log under the client you expect. Grade the blocked answer against AdGuard Home's mode, not a remembered Pi-hole reply: in the default blocking mode, an adblock-style rule returns 0.0.0.0 for A and :: for AAAA, and other modes return NXDOMAIN, REFUSED or a custom IP. Then confirm local names, reverse lookups and any domain-specific upstreams before you touch the router.
The DHCP branch decides the next step.
- The router runs DHCP. Change only the DNS address it advertises, renew one device, and confirm that device's actual DNS server. Leases already out keep the old address until they renew.
- Pi-hole runs DHCP. Disable Pi-hole's DHCP first, then enable AdGuard Home's DHCP server on the same segment with the range, gateway and static leases you recorded. AdGuard's DHCP page[14] says it sets itself as the DNS server for its DHCP clients by default and needs a static address on the host. Never run both servers at once.
Enter static leases under DHCP settings rather than hand-editing a guessed AdGuardHome.yaml structure; the configuration reference says changes made to that file while AdGuard Home runs are lost because the program overwrites them. Stop the service first if you must edit it.
Client names come from several places, none on a schedule you control. The clients guide[15] lists hosts files, reverse DNS, the system ARP table and, for addresses its own DHCP server leased, the lease hostname. If the router keeps DHCP and the Query Log shows only IPs, add persistent clients in AdGuard Home or point private reverse DNS at the router. Write per-client rules against the identity AdGuard Home displays, not the hostname you hoped for.
Verify and Keep the Exit Open
Once the advertised DNS address changes, test at least two clients: an ordinary computer and, if you have VLANs, a device on a different one. For each, confirm the configured DNS server, an allowed lookup, a blocked lookup, an important local name, and the client and upstream in the Query Log. Check the IPv6 side as well, because a router can keep advertising an old IPv6 resolver after you change the IPv4 one. Browser-level encrypted DNS bypasses the LAN resolver entirely, so when a test query never appears, inspect the browser before blaming AdGuard Home.
When something fails, walk it in this order, because each step rules out the layer under the next:
- The query never reaches AdGuard Home. Check which DNS server the client actually received, browser DoH, the IPv6 resolver, and routing between VLANs.
- It arrives but fails upstream. Check bootstrap resolution, the DoH endpoint itself, and firewall policy on outbound 443.
- It resolves but is blocked when it should not be. Look at the matched rule in the Query Log or Check the filtering before you change anything about transport.
- It works, but slowly. Compare storage, CPU, network path and upstream latency against the old resolver, not against a feeling from last week.
Keep the Pi-hole installation and its Teleporter archive until the client, DHCP and rollback checks pass. If you go back, reverse the service and the advertised DNS or DHCP change together, without two DHCP servers running on the way.
Finish with a controlled failure while the old resolver is still one command away. Repeat the allowed, blocked and local-name lookups after a DHCP renewal and take one capture of the resolver's outbound traffic. When the logs, the client settings and the capture describe the same path, the migration is done. The green tick next to Test upstreams only ever proved that one test query got an answer.