I have hassio running on a RPI4 (IP reserved on Nest Wifi to 192.168.86.27). The Adguard Home was installed running successfully for more than 2 months now. When I opened it today - I noticed it stopped working at 3 in the morning and auto reset everything. The setuo guide section now says it’s litening in 127.0.0.1. First of all - WHY and HOW?
I tried to uninstall and reconfigure. It still is listening on that IP. I tried to set my DNS on my Nest Wifi to that but it is not not filtering nor listening. How do I fix it? ANy help would be appreciated. Pretty please.
Just a me too here. Mine has been running fine for over a year and about a week ago just stopped. I noticed that it’s listening on 127.0.0.1 and see no way to change it. I run under Debian supervised and DO have a static IP set as well as external DNS servers set (9.9.9.9, 1.1.1.1)
Edit: I have also removed/re-installed the adguard add on with no change
Same here. It stopped working a few weeks a go and so only listening to 127.0.0.1, not to my hassio Pi IP address anymore. I did a reseach the whole day and did not find a solution.
I now installed Raspbian & AdGuardHome on a second Pi and it directly worked. But I’d like to get it back into Home Assistant agan :-/
Go to Adguard/Conf/AdGuardHome.yaml and edit the file adding your expected local IP address in the section dns: bind_hosts: restart Adguard image after that.
I found that if your device is using DHCP for it’s IP address, AdGuard will use the loopback address of 127.0.0.1. Set a static address and AdGuard will update to that address after a stop/start. Found under: Setting>System>Network
Just ran into this issue. Rebooting HA didn’t fix it. But, just before I went to reinstall Adguard Home, I clicked the restart button on the integration. Fixed, the setup page then showed it was listening on my 192.x LAN address, not 127.0.0.1
Seems like the issue is not fixed yet 03.2023, had to dig the internet and the solution was
Go into Home Assistant -> Settings -> Add ons -> AdGuard Home -> Configuration tag
Click the save button on the network card without changing anything (although the button looks like it is disabled, you can still click it) -> finally hit the restart button```
**[quote=“sirnicolas21, post:9, topic:310137, full:true”]
go to addons and supervisor, click adguard, go to configuration, edit yaml and set bind_hosts to 0.0.0.0
I have the same 127.0.0.1 issue and no matter if I try the “Save” button in the network settings, update the AdGuard, change to static IP, change to external DNS, reboot, etc etc, it keeps showing the same 127.0.0.1.
Can someone shine some light on this noob query: how to I get to the “AdGuardHome.yaml” to change the bind_hosts? I have tried to find it with the File Editor or Studio Code Server but did not find it.
This the installation profile I got from the AdGuard log:
Add-on version: 4.8.4
You are running the latest version of this add-on.
System: Home Assistant OS 9.5 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.4.1
Home Assistant Supervisor: 2023.04.0
This resolved my issue without setting static IP on my home assistant. This is what AdGuard configuration options say here:
If you want your server to accept requests on all interfaces and using both IP versions, for example if you run a public server, put one item with the unspecified IP of any version:
There may be something odd going on with integration with HASSOS (although several versions newer than your original post HASS 2023.10.3 / HASSOS 11.0) as my AdGuard DHCP stopped working after a HASSOS update to v11.
This broke all IPv4 (IPv6 used autoconf) and changing config gave the same odd error (in text form to make it searchable for others…):
Error: control/dhcp/set_config | enabling dhcp: starting dhcp server: dhcpv6: finding interface eth0 by name: route ip+net: no such network interface | 400
Removing the extra dns: bind_hosts: config from the Addon config got DHCP working again, but it appeared blocking wasn’t working either. Re-adding the config back then seemed to work fine!
So…
Step 1 - remove dns: bind_hosts:
Settings → Addons → AdGuard Home → Configuration tab => (…) Edit in YAML and REMOVE three lines
I’m curious: what are your HAOS networking ipv4 settings? Mine were all nulled out after the upgrade and I can’t recall what to put in the gateway and DNS fields. Is gateway my router address and DNS is the IP of my raspberry pi that is running home assistant? Or do I put external IP? Or router? It’s been running fine for so long I can’t remember how I had it setup…