Home Assistant Community Add-on: AdGuard Home

New user and running AdGuard add-on (everything seems to be working fine).
Question: is there any way to delete/clear the query logs? Do they just build forever? How long are queries kept?
There doesn’t seem to be any options, unlike the standalone version of AG Home.


Wait - is this not available to you?

1 Like

Ha! Totally missed it; must have browsed too fast. And Google searches didn’t help.
Thanks!

Hello guys?

How to use the following services from Home Asistant ?

Also How Can I enable/disable “Blocked Services” ?
please guide

has anyone a idea, how can i add a timer to disable AdGuard for a short time?
or anyone has that, and can share the code…thx in advance

sample:

Here is how to set a timer from an input number Start a timer with a given number of minutes / dynamic duration - #4 by obaldius

I would have a switch (you could just use the existing Adguard entity switch) which triggers an automation to disable Adguard which also sets and then starts the timer. Then trigger on timer finish to turn Adguard back on.

ok, thx.

if this will not work, i must switch back to pihole. its one of my important features to disable the protection for a short time

This feature is coming to AdGuard Home itself, though unknown timeframe. More info: Temporarily disable with API (and via UI) · Issue #1333 · AdguardTeam/AdGuardHome · GitHub

Or you can create an automation yourself. Just replace Pi-hole with AdGuard in the example below:

are u sure? the thread is 3 years old…

I’m not sure, I’m not a developer on that project. But the lead developer stated “This will be a part of the new API and UI” in Jun 2021, and stated “no precise timeframes” for this feature in Aug of this year.

I would expect this to be part of the UI refresh which is currently underway.

In the meantime, since the AdGuard Home integration provides switches for enabling/disabling filtering, similar behaviour can be achieved with automations/scripts etc. within Home Assistant.

im not the best HA-Programmer. im back to Pi-Hole. only had to change the sd card on the pi. use a second pi for this… thing Pi-Hole is at the moment the best solution for me… when the necessary functions have been integrated, i will try again.

Anyone had any issues with this addon lately? I scrolled up a bit and didn’t see anything.
I have to restart the addon fairly often…from an hour to a day over the last couple days.
I have no DNS resolution without restarting the addon.
Logs show:

2022/10/19 17:31:14.192384 [info] Entering the UDP listener loop on 172.30.32.1:53
2022/10/19 17:31:14.192402 [info] Entering the tcp listener loop on 172.30.32.1:53
2022/10/19 17:31:14.192426 [info] Entering the tcp listener loop on 192.168.3.050:53
[17:31:14] INFO: Starting NGinx...
Nothing different from when it was running before I restart it.

Home Assistant 2022.10.4
Supervisor 2022.10.0
Operating System 9.2
Frontend 20221010.0 - latest

I want to add some custom dns servers via option 6 DHCP · AdguardTeam/AdGuardHome Wiki · GitHub and I understand I have to stop the service to edit the file. I tried stopping as per here: FAQ · AdguardTeam/AdGuardHome Wiki · GitHub but I got this error:
[fatal] service: executing action "stop": Failed to stop AdGuard Home service: "rc-service" failed: exec: "rc-service": executable file not found in $PATH

Anyone know how I can stop the service?

As I know you have to use ad guard gui to add dns servers. You can add upstream dns servers and bootstrap DNS servers that are used for resolving upstreams dns servers.

Is it possible to expose the ports for DNS-over-TLS port and DNS-over-QUIC? These are in the Encryption settings.


It doesn’t look like I can expose ports 853.

The reason I’m asking is because today I noticed that my custom DNS rewrite wasn’t working on my wife’s laptop in Google Chrome. I set up a local rewrite for my domain so that I can connect via SSL on the local IP address and avoid a round trip through the public internet (which has an additional security layer.)

I did some research and found out that it might be related to the “Use secure DNS” setting in Chrome:

From “A safer and more private browsing experience with Secure DNS

Chrome’s Secure DNS feature uses DNS -over-HTTPS to encrypt the DNS communication

I’m not 100% sure if that was the cause, but it immediately started working after I switched off the “Use secure DNS” setting in Chrome. So I just wanted to see if enabling this Encryption setting in Adguard Home would fix the issue and make Chrome use the secure DNS on port 853.


EDIT: Or maybe it was because I included 8.8.8.8 as an option in my DHCP settings:

I found this Reddit post: “Google Chrome ignores other DNS servers in system settings ?”

[SOLVED] Thanks to u/polynomialspace and other comments, problem is solved. Google Chrome indeed prioritizes 8.8.8.8 over our private DNS server, but it’s for a solid reason: DNS-over-HTTPS. Not just 8.8.8.8, some public DNS servers like 1.1.1.1 are also in the list. Disable “Use Secure DNS” option in Security section will stop Google Chrome from prioritizing these DoH-capable servers.

Not sure why this was only happening on my wife’s laptop though and not on mine. Maybe I need to remove all the backup options and just have Adguard as the only DNS server

I use google chrome and have the same setup in ad guard as you do. I also use dns rewrite and have no issues with it. Maybe you need to import your cert in google chrome. It was a while I done that, but I believe this was the problem.

Yeah I am not talking about the DNS servers it uses to satisfy DNS requests I want to add additional servers that will be sent as part of a DHCP request. You can only do that by manually amending AdGuardHome.yaml hence why I am in the docker cintainer…

Hi,
Does anyone have some strange logs in adguard after latest update?
My log is full of this messages

[error] handling tcp: reading msg: reading len: tls: first record does not look like a TLS handshake

In encryption settings I have

validating certificate pair: certificate has no IP addresses, this may cause issues with DNS-over-TLS clients

Those messages should point out that I dont have ip address bound to my cert. And this is correct. I don’t have ip address bound to my cert. But all cert issued by lets encrypt or similar providers doesnt have that either if you use ddns, as far as I know.
Does this mean that we will have to buy a domain and cert for it to run ssl on our local networks?

Just installed AdGuard home but when I try to activate extra settings like safebrowing, parental or safesearch I receive an error


Am I missing something or did I do something wrong?