Home Assistant Community Add-on: AdGuard Home

Hi
where did you find it in the documentation? I dont know what to fill in for IPv6, so looking for an answer. could you perhaps share a link?

Iā€™d like to use the Adguard Home addon to resolve external DNS with DoH, DoT and Quic.
Now Iā€™m wondering if I need to set up port forwards from my router to my Home Assistant device )Pi)?
If so, to which internal port do I need to forward to?
Or isnā€™t portforwarding not needed in my case?

For example:
External Port 443 -> HomeAssistantIP:443 or
External Port 443 -> HomeAssistantIP:8123 ?

Also Iā€™d like to use DoH, DoT and Quic from my desktop pc (Windows10, with YogaDNS client) to my HomeAssistant instance over my internal network. Is this possible and should I use hairpin NAT or a DNS rewrite from xxxxx.duckdns.org / xxxx.ui.nabu.casa for that?

Iā€™m using:

  • Adguard Home Addon on HASSIO
  • DuckDNS addon
  • Home Assistant linked to Nabu Casa Cloud subscription.

Info:
Home Assistant: core-2021.2.2
Installation type: Home Assistant OS
Host-OS: Home Assistant OS 5.11
Supervisor:supervisor-2021.02.6

Installed add-ons:
File editor (5.2.0), Home Assistant Google Drive Backup (0.103.1), Terminal & SSH (9.0.1), deCONZ (6.6.5), AdGuard Home (3.0.0), Samba share (9.3.0), Duck DNS (1.12.4), Spotify Connect (0.8.2)

Thanks :slightly_smiling_face:

This one might sound kinda dumb but I figured itā€™s best to ask before doing it:

Iā€™ve got a Home Assistant Supervised instalation running the Adguard Home add-on with the IP 192.168.68.168, Iā€™ve added that IP address as a DNS on my router DHCP settings and everything goes through Adguard Home and Iā€™m quite happy with that.

The only thing not going through AdGuard Home is the HA instalation itself, since it has a static IP adress and the DNS is configured as ā€˜8.8.8.8,8.8.4.4ā€™ through the Supervisor.
image

Can I set my HA instalation DNS to itā€™s own IP so I can see all the traffic in Adguard Home or that would just end up badly?

Hi everyone. My processing time is unfortunately huge. 250.000 requests so far, 8,4% got blocked, resulting in 1283 ms.

I got a fritzbox as my router, where I added my Aduard/Home Assitant (Supervised) IP as DNS Server. Its also possible at the fritzbox gui to enter a second DNS IP, in case the first does not respond, so one would still have access to the internet. I did that, but since my processing time with adguard is that high, my fritzbox i rerouting it to the secong DNS IP.

I made some screenshots of my adguard settings, so far I did not changed anything beside the standard installation. Most entries got filled in automatically.

I am using a raspberry 4 8gb, supervised, adguard 3.0.0

Can somebody help me getting this processing time down? Thanks in advance.

Here are my adguard settings:

Here is my fritzbox (router) settings

Hi, not the biggest expert but here are some thoughts.

Due to the way fritzbox works you need to specify both dns to your local adguard home (here in your config secondary dns is 8.8.8.8). It is not necessarily due to your speed issue that it switches to secondary, even with speeds of 37ms it always distributed some load on the secondary dns for my system.

I see that you use dns-over -https in your upstream servers, but you donā€™t have checked the option in the encryption tab and I donā€™t see if you set ssl certificates. It could probably cause issuesā€¦ You could try without encryption to check speeds first. For upstream I use 1.1.1.3 and 1.0.0.3 (it is the fastest possible dns, and removes porn. To allow it, you can use 1.1.1.1). It was the fastest I found.

Iā€™ve also disabled ipv6 as l had read there was issues with this addon.

Donā€™t forget it is average values over 24h, so if you change values you need to wait for them to take into account the new speeds.

Any issues pop up in the addon logs?

Other than that all your settings seem normalā€¦ I have a value of around 50ms on a rpi3b+ with 1go ram and 2% average cpu load.

Ps : also I recommend that you set fixed dns servers for home assistant (there is a guide soe posts above) otherwise the systems runs randomly into connections errors in my experience

2 Likes

Thanks for your reply @alexbelgium. I will try your points. Regarding the fixed IPs: all is fixed - so I can eliminate this as a reason for the delay.

Hej everyone, I now checked the encryption and set the paths for the certificate.
I deactivated IPv6 and set the second dns adress also to my raspberrys ip.
So far the stats show, that my ping got lowered in 24h to 23ms. Which is waaaay better!
So far so good. Thanks again to @alexbelgium!

2 Likes

Are there any plans to update AGH to the latest version? Release 105.1

They normally upgrade it not long after a releaseā€¦

Hello,

i added AdGUard Home on another HA instance.
I would now like to control it via my master HA.
Tried to added the IP address, Port (default 3000), and (correct) user/pw.

It just telkls me ā€œunknown errorā€.
Any hints for my where i can find more information of the cause?

Thanks in advance,
Ralf

Thereā€™s no Adguard in Supervisor tab, tried to add it via repository but that doesnā€™t work either. Finally I found it under configuration/integration but thereā€™s no instructions as how to fill in the info for the pop-up window. Help please

Adguard is in the Supervisor Tab under ADD-ON STORE
The integration you are looking at provides info on the add-on once you have installed it (If you want that info)

For some reasons, it doesnā€™t come up for me

HA OS - 5.12
Supervisor 2021.02.11
Core 2021.2.3

If you donā€™t search can you see the sections OFFICIAL ADDONS and also the HOME ASSISTANT COMMUNITY ADDONS? It is in the community addon section

Do you have Advanced Mode enabled in your profile settings? Many of the add-ons donā€™t appear unless you have this enabled.

Not under official add-ons, tried HACS as well, advanced mode enabledā€¦no where to be foundā€¦seems very odd. I even tried to add it via github repository but it said invalid

Have a look at the instructions here: https://addons.community/

Yes, no luck

image

Have another look at the instructions The repository URL is https://github.com/hassio-addons/repository

got it now, thank you very muchā€¦had to re-install repository