Home Assistant Community Add-on: AdGuard Home

So, with these settings:
GWF: 192.168.86.229-192.168.86.229
RPi Address: 192.168.86.229
AdGuard DHCP server ON
Upstream DNS: 1.1.1.1

My Windows laptop will ping 192.168.86.1, 192.168.86.229 and 1.1.1.1 but it still says no internet

So what happens when you click on TEST STREAMS in the DNS settngs. On the page at the moment I expect you have 1.1.1.1 in the upstream DNS servers box and 1.1.1.1:53 in the bootstrap DNS servers box

All the turning on wifi and turning off wifi, my RPi seems stuck in a black hole now. Itā€™s connected to the wifi and has an IP, but I canā€™t access it. Guess I need a fresh installā€¦ again.

Iā€™ve definitely appreciated your help and feedback! Hopefully, youā€™re still around when I can reinstall this

1 Like

Okay, back!! I hit ā€œtest upstreamsā€ with 1.1.1.1 and 1.1.1.53ā€¦and they returned back, reporting all normal

I did a fresh install of HassIO. I turned off the power to my house and brought everything back up at once. Still, I get the error that nothing will connect to the internet.

I attempted to turn off adguard, I tried setting it to 1.1.1.1 or 8.8.8.8.

When I try to connect on my Windows10 Laptop, which has the IP address given from my AdGuard DHCP server, I get the error that Googleā€™s DNS couldnā€™t be reached and Googleā€™s server IP address could not be found.

I wish I could see what it happening when I go to an address on my computer. Whatā€™s happening in adguard, whereā€™s the signal going

1 Like

Starting to get to the end of my knowledge level! :slight_smile: However try this on your laptop:
nslookup google.com 192.168.86.229

You should get something back like:

Server:  UnKnown
Address:  192.168.86.229

Non-authoritative answer:
Name:    google.com
Addresses:  2404:6800:4006:810::200e
          142.250.66.238
1 Like

Hi all
I see there is a update available for the addon. (ver 4.0.0). I have installed HA in ubuntu 18.04 so it is not supported ( I think)
Has anyone tried to update with similar set up like mine? any comments? Will the addon continue to work?

The Supervisor provides this network information, thus having a proper, Supervisor supported and managed, network configuration is now required.

Iā€™m running supervised installation on Ubuntu 20.04, itā€™s fine.

Make sure your system is ā€œhealthyā€ by running install script if you need to, and check everything is setup correctly at Supervisor > System > IP Address > Change > IPv4.

thanks, what is the install script?

Since you installed HA on Ubuntu I assume you used the supervised install script.

Well, I followed a guide from the forum to install it (donā€™t remember which one right now)
In supervisor I donā€™t have this option for ipv4, would that be a problem?

You donā€™t have that option because you are running an unsupported installation (Ubuntu). You will see that option if you run Debian.

1 Like

Thanks for your answer. I am a little confused now, because @alec said that he has ubuntu too, and if I read right, he has the option of ipv4.

Anyway, do you know if I have problem with the update if I install the update? I think I will

Correct, I am running Ubuntu and have that option:

I donā€™t know why itā€™s not there for you. The installation script should set up NetworkManager for you which I believe is associated with that ā€œIP Addressā€ section.

Maybe it will fail. But you have recent backups I assume and it would be good to get a solid grasp on how HA is installed. I would run the install script. Good luck!

1 Like

Hi folks. Quick questionā€¦ Is there any way to use the information in AdGuard to tell whether or not a particular client is active. The app for my router can distinguish between when a device is simply online and when it is active. Now that Iā€™m using AdGuard as my DNS server, is there any way to do the same thing in Home Assistant?

Woooof! It turns out that Iā€™m a big dummy and got too excited about this whole thing. I have everything set up nowā€¦I didnā€™t need the DHCP server settings for Adguard. I really appreciate you trying to help me out when I was being dumb!

I did add the DNS server to my Google WiFI and I get no internetā€¦ and my Wireguard VPN isnā€™t actually VPNā€™ingā€¦ butā€¦ hey, this dumb idea that I had isnā€™t relavent. Haha

Alright, a simple uninstall/reinstall fixed my AdGuard issues! Yes!! I even have it set up as a DHCP server, yes, yes!!

However, it doesnā€™t seem to be blocking anything. I went into blocked services and selected multiple ones but I can still get to them.

I also tried the safe search and blocking adult websites, but I can access all the porn.

The dashboard says Iā€™ve recieved or blocked 18,000+ queries in 3 days, but I donā€™t know this itā€™s actually working?

I really need some help figuring out whatā€™s wrong.

I have a static IP assigned in Hassio, and static external dns, like this:
192.168.1.101/24
192.168.1.1
8.8.8.8
In my Asus router i use
192.168.1.101 as primary DNS (no secondary)

This results in when testing upstreams
2021/04/07 19:27:59 [info] couldnā€™t communicate with dns server https://dns10.quad9.net/dns-query: couldnā€™t initialize HTTP client or transport, cause: couldnā€™t initialize HTTP transport, cause: couldnā€™t bootstrap https://dns10.quad9.net:443/dns-query, cause: failed to lookup dns10.quad9.net, cause: read udp 192.168.1.101:52314->1.1.1.1:53: i/o timeout

Changing back the router to primary DNS 8.8.8.8 then the testing of upstreams works.
It seems that as soon I use DNS to Adguard192.168.1.1 in my Asus router, adblocking stops and upstream test generates an error.

Can you try changing the upstream server from a URL to say 1.1.1.1

Thank you. I succeed by adding the IP-address to Hassio in DHCP configuration in my Asus router. Now I can see every clients IP in Adguard and it seems to be working. Happy again :smiley: