Same issue here…did you ever find a resolution?
Thank you. Resolved on my HA.
using custom filter i can stop youtube from loading.
||youtube.com^
||ytimg.com^
||youtu.be^
||googlevideo.com^
||youtubei.googleapis.com^
||youtube-nocookie.com^
but when i use the url list, the youtube doesn’t get blocked
https://raw.githubusercontent.com/jactora/blockyoutube/master/blockyoutube.txt
any help to create a url list for youtube to be blocked?
i want to avoid custom filters, i dont think i can enable or disable custom filters in HA via automation. my main intention is to block youtube in home assistant based on some automation
AdGuard Logging
Where are the logs for AdGuard written?
Are they influenced by the Recorder setting in Home Assistant? (I would assume no)
Is it possible to write the logs to an external SQL database?
Dear friends,
I am unable to get the addon to work as intended. I am sure some of my settings are messing up somewhere but unable to figure out whats missing. The addon is installed and the dashboard loads fine.
I have enabled everything under the filter-DNS blocklist section and the rest is default. I am using this website to test if the adds are blocked but I still see the adds! Link - https://ads-blocker.com/testing/#ad-blocker-test-steps
As per the setup guide in the addon, I have first updated the ip (192.168.0.3) in my routers DNS settings, but this stops internet from my Ubuntu host system. I am still able to access internet from my other devices. When this did not work, then I tried to update using the windows method on my laptop but still didn’t work.
Please see below my network settings.
I would appreciate if anyone can guide me in right direction.
I have read many threads but doesn’t seem like I am able to figure out.
If I have missed any required information please let me know
Host OS: Ubuntu 16.04
Homeassistant running in docker
Network Config
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.1
network 192.168.0.0
broadcast 192.168.0.255
dns-nameservers 8.8.8.8 8.8.4.4
Add-on: AdGuard Home
Network-wide ads & trackers blocking DNS server
Add-on version: 2.3.3
There is an update available for this add-on!
Latest add-on version: null
Please consider upgrading as soon as possible.
System: Ubuntu 16.04.6 LTS (amd64 / qemux86-64)
Home Assistant Core: 0.110.2
Home Assistant Supervisor: 222
Addon Config
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
loglevel: warning
Dashboard loads fine
AdGuard Home DNS server is listening on the following addresses:
127.0.0.1
192.168.0.3
172.30.32.1
172.17.0.1
Upstream DNS servers - https://dns10.quad9.net/dns-query
Bootstrap DNS servers - 1.1.1.1:53
I am having trouble with some YouTube movies not being loaded when using AdGuard on Hass as my DNS server. I often get the error that the live video is limited and that I need to login with a G-Suite account.
When I switch to DNS 1.1.1.1 and restart the browser, it works. Same account, same live video.
Is there any way to fix this?
Have you any of these enabled?
Yes, I did. I turned them off, but still the same problem. Does not work for live streams. For example, the NASA live stream will not load.
What upstream from AdGuard do you use? Could it be that? Is there anything in the AdGuard logs?
Problem seems to be the dns on my Samsung tv. On my laptop and Apple TV it works now. Only my tv is the problem now. Guess it’s because the tv is 5 years old now.
Hi all
looking at query log of AdGuard, I see a lot of queries coming from the HA IP address to various IPs all around the world
How can I know who is requesting this and why?
What is a PTR type?
Thanks
It isn’t a good idea to have HA point to it’s own add-on for DNS as while HA is booting it will not be able to resolve anything (as per docs) unless you have a fallback.
Personally I point HA to an instance of Pi-Hole that forwards to HA AdGuard. Pi-Hole falls back to another forwarder if AdGuard fails. Yeah, I know…
Actually, I’ve moved AdGuard from HA addon to a tiny RPi Zero W exactly for this reason.
So HA point to AdGuard IP address as DNS, that is (should be) “always” alive
Good plan! I’d seen these requests but never checked to see what they were.
From a PC - yahoo.com as I expect it will not be cached.
~$ dig yahoo.com
; <<>> DiG 9.11.3-1ubuntu1.11-Ubuntu <<>> yahoo.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38740
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;yahoo.com. IN A
;; ANSWER SECTION:
yahoo.com. 1069 IN A 98.138.219.232
yahoo.com. 1069 IN A 98.138.219.231
yahoo.com. 1069 IN A 98.137.246.7
yahoo.com. 1069 IN A 72.30.35.9
yahoo.com. 1069 IN A 72.30.35.10
yahoo.com. 1069 IN A 98.137.246.8
;; Query time: 41 msec
;; SERVER: 192.168.7.29#53(192.168.7.29)
;; WHEN: Mon Jun 08 22:08:09 BST 2020
;; MSG SIZE rcvd: 134
Tried a different domain and 68msec but going through 2 ad blockers is not bad. I can bypass if I want but most will be cached.
It is also quite variable.
Can someone link me to some info on adding client friendly names, rather than IPs, please?
My searching has let me down.
Thanks!
Important distinction is that this is an AdGuard issue rather than a HA issue so the AdGuard forum will be a better place to ask. To use this feature, AdGuard must be your DHCP server, then it is at the bottom of the DHCP page - Assign a static address (and hostname).
[edit]
(oh ignore that, it is right but the changelog mentions doing this in the add-on config - have not done that)
No need to apologise, you got me to go look back at the settings and work it out for myself. Not sure how I missed Client Settings before but can’t say I’m surprised at myself.
Thanks!
Folks I no longer run AdGuard as an addon on HA, but instead have AdGuard running on my OpenWrt router itself and am wondering if Home Assistant can be configured to see it? E.g. HA UI shows controls for AdGuard.
Reason I moved it to run on the router is because last week my Raspberry Pi SD card gave up and suddenly my family couldn’t browse the web any more. So one less dependancy for the network to work.