First decide who provides DHCP, who provides DNS as seen by clients, and who is responsible for updating the list. AdGuard Home is suitable for environments requiring an independent management interface. Pi-hole is typically deployed on trusted LAN hosts. adblock-fast can leverage OpenWrt's existing resolver. All three should be reviewed for DNS resolution behavior when offline.
Small-sample control for the same domain batch
Use the same list, upstream, and cache settings. Test one set of domains for ads, normal login, and local services, recording return values, false blocks, and memory usage. Test DoH clients, first-party ads, and hardcoded targets along their respective paths.
Compare normal and blocked results under the same test list
Note down the IP addresses of the router, the stand-alone DNS server, and the client. Test one client at a time, using the same set of sample domains (e.g., advertising domain, login domain, and NAS name).
First, use a single test client for verification, then update via DHCP. Keep a clear backup DNS resolution strategy for home use, and document when the blacklist is released. Retain local domain names and original listening ports; if failure occurs, revert to DNS broadcast only.
Record which rule blocked a particular request and whether DNS resolution works after the fault is resolved. Only by changing the client's DNS can the original service be restored. After verification of successful restoration, update the DHCP configuration.
Comments