Home Assistant Community Add-on: AdGuard Home

Just wondering if you can do me a favour to see what happens.
Can you please go into your portainer , create a new container and as the image just put:

ghcr.io/bakito/adguardhome-sync

and deploy it, nothing else, no settings… The see what the log says

I created a container using this:

version: "2.1"
services:
  adguardhome-sync:
    image: ghcr.io/bakito/adguardhome-sync
    container_name: adguard_syncTest
    command: run
    ports:
      - 8084:8080
    restart: unless-stopped

It builds fine, but when it runs the log reports an error:
“Error: origin URL is required”

BTW, I’m on a Synology NAS, running Container Manager, which is Synology’s version of Portainer.

thanks, yeah even with as little as that I get nothing I’ll file that report

got it working. @bakito had to compile a version that ran on raspberry pi 5, so now it works! :partying_face:

My next question is , an adguardhome, where can you set the secondary DNS server for DHCP clients?

I want to have it so that:

  • if people get a DHCP address from AGH_1 , then their DNS is set to AGH_1 and secondary DNS is AGH_2

  • if they get a DHCP address from AGH_2 , then their DNS is set to AGH_2 and secondary DNS is AGH_1

that way if either goes down, it all still works…

Glad you finally got it working! Not sure about multiple DHCP servers as I only use my two Adguard instances as DNS servers and delegate DHCP to my router.

Maybe set a unique range of addresses each Adguard can serve? AGH_1 serves addresses 2 to 100. AGH_2 serves 100 to 200. The client chooses one of them.

Still need to tell all the clients on the network to have DNS1: AGH_1_IP, DNS2: AGH_2_IP
Otherwise, you only get the DNS server of the one that gave you your ip address, and if that one goes down…

I’ve found out what I need to edit. Option 6, It’s in the adguardhome.yaml file.

Blockquote
‘options’:
–‘6 ips 1.2.3.4,1.2.3.5’

Just need to find where that is stored…

Ok, I’ve looked everywhere… Where does home assistant store the adguardhome.yaml file?
I’ve looked everywhere…

Otherwise I have to back up adguard, open the archive, edit the file in the backup by hand and then restore it :joy:

The file is not easily accessible. I believe it’s within a HASSOS container, but that’s way over my head.

Hi folks,
I’m seeking confirmation on the setup of Adguard.
I use a SKY router which does not have the ability to modify any DNS settings.

The Adguard addon has installed on my Home Assistant installation HAOS on a Pi4.
All seems to be running ok.

On my home laptop I have changed the wifi adapter IPV4 protocol to use the DNS address of my Pi4.

When I use the laptop and look at the pi4 dashboard for adguard I do see DNS queries and block by filters increasing so I was presuming this is working ok?

On the laptop however I am seeing limited blocking of adverts? Even using extra blocklists.

As an experiment if I set Youtube as a blocked service on the adguard pi4 setup, youtube still works and does not appear to be blocked.

I’m confused that the dashboard ‘appears’ to show it is working but in practise I’m seeing limited adverts being blocked?

I have not changed any DHCP settings in Adguard. The router is still the DHCP server.

Any advice if this is correct?

Thanks…