AdGuard Home - applying ONLY rewrite rules

turnma

New Member
My config is fairly simple. I apply the basic "AdGuard DNS filter" and I have some custom rewrite rules. The rewrite rules are so that things on my network, e.g. Home Assistant, can resolve to the internal rather than the public IP.

The "AdGuard DNS filter" causes me no particular issues, but it breaks my wife's shopping sites with such regularity that I've given up and just added her devices as clients and turned off the global settings and left "Block domains using filters and hosts files" turned OFF. However, it appears that doing this also turns off DNS rewrites as well as custom filtering rules. This is surprising because I've only unticked the "BLOCK domains" option, so I didn't think that rewrites would be affected.

Is there a way to turn off blocking but keep rewrites working? As it stands I have to choose between breaking her web browsing or breaking her access to things like Home Assistant.

thanks
 

turnma

New Member
TLDR? Short version - is there a way to make DNS Rewrites work when "Block domains using filters and host files" is configured?
 

turnma

New Member
Okay, for others looking for the same, here's a clunky workaround. I'm running AdGuard Home on Docker, so I've now added a SECOND instance of AdGuard Home. The second instance has filtering enabling but no blocklists configured, so it's effectively doing no blocking. DNS rewrites are configured on this second instance. The original instance can have DNS rewrites removed, then has its upstream DNS server set to the SECOND instance. So what we end up with is instance one doing ad blocking, then it chains to instance two to do DNS rewrites. Like I said, a bit clunky, but it means I can get DNS rewriting working for clients that are configured to not block, and only took about 10 minutes to set up.
 
Top