I have copied your settings and saved the configuration. I still get the same issue, 7000+ ms times in the query log and no dns resolve on LAN or WAN.
Have you tried removing AdGuard and reinstalling it?
If you try and load a site eg google.com etc do you see this in the AG logs? If so is is passed or blocked in the logs?
I saw the requests in the log with a very high response time, they showed up as passed.
After reinstalling adguard nothing shows up in the log.
What happens if you disable AdGuard protection so that the filter rules are ignored?
Have you tried setting the WAN DNS to 8.8.8.8 and setting the more important LAN DNS to your Adguard?
My understanding is that the WAN DNS is used purely by the router for time sync, FE update searches etc and itās the DNS set for the LAN thats actually used by every device on your network.
We have a winner! It seems that a patch on Adguard or Home Assistant made the WAN DNS option not work anymore. Switching to the LAN DNS field did the trick. Big thanks to both of you for granting me your time. @rossk @BertrumUK
This might be good information for other people in the same situation. I had used the WAN field for over 2 years without fail prior to this.
i am unable to use adguard dns. When I use home assistant ip as Dns, I am unable to browse. Wifi is connected but no internet 192.168.18.200 is the static ip of raspberry pi running Homeassistant.
Edit
Adguard ip is also 127.0.0.1. How to fix that?
Can confirm Iām getting the same errorā¦ definitely a show stopper at this point for me!
Setup tailscale and use Homeassistant as exit node.
Sorry if this has been asked before, but is there any way to parse the query log for a certian IP and domain? Iād like to get notifications if a certain domain is accessed by certain IPās.
Is there a physical query log I can parse manually? Running the addon on HASSOS on a RPi4.
I had to install using the terminal&ssh addon and it fixed that.
can you write a setup guide for this method?
I used this.
Hello,
I see no option to use a service to bock/deblock services for a client. the only way seems to be through the settings but i have two child-users that i would like to be able to bleck/deblock with an automation.
Anyone else found a way to do this or do I need to drop a feature request?
Thank you!
Just to say also had the 127.0.0.1 error and, as others have noted, simply āsavingā the network tab and restarting the add-on fixed that. Iām thinking I should probably have posted this question here!
If anyone has any clue, Iām all ears!
thanks
Hi ,
My ADguard works correctly only for few hours, after that, I can connect anymore to the internet and I have to restore the DNS setting in my Fritzbox router to default . Then I can restore the ADguard DNS and it work another time for few hours:
I donāt need to restart home assistant or router or ADguard, I have only to change DNS on the router on default for a while and then switch it back to ad guard
My ad guard log
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: AdGuard Home
Network-wide ads & trackers blocking DNS server
-----------------------------------------------------------
Add-on version: 4.1.9
You are running the latest version of this add-on.
System: Home Assistant OS 6.5 (amd64 / qemux86-64)
Home Assistant Core: 2021.10.6
Home Assistant Supervisor: 2021.10.6
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] adguard.sh: executing...
[cont-init.d] adguard.sh: exited 0.
[cont-init.d] discovery.sh: executing...
[19:00:26] INFO: Successfully send discovery information to Home Assistant.
[cont-init.d] discovery.sh: exited 0.
[cont-init.d] nginx.sh: executing...
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[19:00:27] INFO: Starting AdGuard Home server...
2021/10/31 19:00:28.255741 [info] AdGuard Home, version v0.106.3
2021/10/31 19:00:28.272717 [info] Initializing auth module: /data/adguard/data/sessions.db
2021/10/31 19:00:28.277545 [info] auth: initialized. users:0 sessions:0
2021/10/31 19:00:28.277573 [info] Initialize web module
2021/10/31 19:00:28.333718 [info] Go to http://127.0.0.1:45158
[19:00:28] INFO: Starting NGinx...
2021/10/31 19:00:28.898401 [info] Starting the DNS proxy server
2021/10/31 19:00:28.898662 [info] Ratelimit is enabled and set to 20 rps
2021/10/31 19:00:28.898790 [info] The server is configured to refuse ANY requests
2021/10/31 19:00:28.898895 [info] DNS cache is enabled
2021/10/31 19:00:28.899082 [info] MaxGoroutines is set to 300
2021/10/31 19:00:28.899273 [info] Creating the UDP server socket
2021/10/31 19:00:28.899593 [info] Listening to udp://192.168.0.62:53
2021/10/31 19:00:28.899767 [info] Creating the UDP server socket
2021/10/31 19:00:28.900117 [info] Listening to udp://172.30.32.1:53
2021/10/31 19:00:28.900266 [info] Creating a TCP server socket
2021/10/31 19:00:28.900542 [info] Listening to tcp://192.168.0.62:53
2021/10/31 19:00:28.900717 [info] Creating a TCP server socket
2021/10/31 19:00:28.900892 [info] Listening to tcp://172.30.32.1:53
2021/10/31 19:00:28.902107 [info] Entering the tcp listener loop on 172.30.32.1:53
2021/10/31 19:00:28.920047 [info] Entering the UDP listener loop on 172.30.32.1:53
2021/10/31 19:00:28.920512 [info] Entering the UDP listener loop on 192.168.0.62:53
2021/10/31 19:00:28.920641 [info] Entering the tcp listener loop on 192.168.0.62:53
2021/11/01 12:00:29.292321 [info] Filter 1 has been updated: 799994 bytes, 41429 rules
2021/11/01 12:00:29.292359 [info] Saving filter 1 contents to: /data/adguard/data/filters/1.txt
2021/11/01 12:00:29.967770 [info] Updated filter #1. Rules: 41375 -> 41429
2021/11/02 12:00:30.723647 [info] Filter 1 has been updated: 801671 bytes, 41516 rules
2021/11/02 12:00:30.725036 [info] Saving filter 1 contents to: /data/adguard/data/filters/1.txt
2021/11/02 12:00:31.355726 [info] Updated filter #1. Rules: 41429 -> 41516
2021/11/03 12:00:32.664937 [info] Filter 1 has been updated: 802814 bytes, 41565 rules
2021/11/03 12:00:32.664966 [info] Saving filter 1 contents to: /data/adguard/data/filters/1.txt
2021/11/03 12:00:33.469118 [info] Updated filter #1. Rules: 41516 -> 41565
2021/11/04 12:00:34.485901 [info] Filter 1 has been updated: 803596 bytes, 41608 rules
2021/11/04 12:00:34.486035 [info] Saving filter 1 contents to: /data/adguard/data/filters/1.txt
2021/11/04 12:00:34.631513 [info] Filter 2 has been updated: 303290 bytes, 8124 rules
2021/11/04 12:00:34.631586 [info] Saving filter 2 contents to: /data/adguard/data/filters/2.txt
2021/11/04 12:00:35.196239 [info] Updated filter #1. Rules: 41565 -> 41608
2021/11/04 12:00:35.196269 [info] Updated filter #2. Rules: 8125 -> 8124
I would LOVE a feature like this too. I need to block social media services for specific clients using an automation.
Anyone have ideas?
Iām looking for the exact same thing, i dont want to block a domain/ip but rather just setup an automation to do what I want it to do when a certain IP (or anyone) tries to lookup a specific domain.
Currently running PiHole in a container but the lack of sensors and integration with HA i would see no reason to stay with PiHole if AdGuard can provide this feature.
Currently iāve just research PiHole a bit and they have a API that you can call to get a query-log for certain client IPs or just plain search the log file your self, there should be a similar feature in AdGuard but havnāt actually checked if there is.
I would be happy to add this feature to one of the integration if needed, just need to do some more research since i dont want to put XX hours into a integration to then just switch to another one.
Does anyone know if this feature actually already exists in AdGuard or if there is a API that the integration could use to add this feature?
Hi, Everyone,
Maybe this question already went around, but I could not find anything related, aside from an issue posted on the AdGuard Addon Github, which was ādismissedā because the question was related to the integration.
I am using AdGuard Home as a DHCP server. Does anyone know if thereās a way to get a sensor with the number of DHCP leases (total and static)?
Cheers,
a Bit of an unusual one. I am using a SIP card to answer my door station. It uses web sockets. When I turn on AdGuard is seems to be blocking the Websocket connections to wss://xxx.duckdns.org/ws. I am using NGINX to resolve the Duckdns.
Any suggestions?