-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use AdGuard Home configurations #68
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐛 bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be useful. |
Home Assistant doesn't support multiple interfaces. If you are in need for that, you need to look into Home Assistant Container or Home Assistant Core, as those allow you to set up those custom configurations in any way you like. |
? I don't know how that's related to this issue. It's HA that's allowing the add-on to connect to multiple interfaces. I'm actually trying to do the opposite: stop AdGuard Home Addon from binding to all interfaces.
@frenck, Where in HA Core can I do this? I'm running HA Container/Core, using the new AdGuard Home addon. I cannot pass-through configurations from HA -> Supervisor -> AdGuard Home -> Configuration into AdGuard Home. My HA is running on an NUC, in an containerized environment. Aren't I running HA Core?
|
It is related, because Home Assistant Supervised does not support multiple network interfaces. If you are running manual setups like yours (Home Assistant Supervised, aka Hassio on a Generic Linux), these things become your issue. When running the system as it was meant to be, it won't happen. Home Assistant does not support multiple network interfaces. |
Sure. That does make sense, but it's not actually relevant to the bug itself. That was only a symptom. Very well, I'll add another ticket for the actual issue: not passing configurations to AdGuard Home, completely removing the mention of multi-home "bug" - but would be the example, since it can be seen in the logs easily. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Problem/Motivation
AdGuard Home addon, by default, binds to all addresses on the system. If you're multi-homed, it's going to bind to every single address,
[::]:53
. When using vlans, this starts causing oddities in DNS responses.From a 192.168.1.x host to 192.168.2.10 AdGuard Home
From a 192.168.2.x host to 192.168.1.10 AdGuard Home
I want the ability to pass AdGuard Home configurations to the docker container so I can use
dns.bind_host
and control what interface(s) for AdGuard Home to listen on.Expected behavior
When I add
dns.bind_host
to the configuration, I expect AdGuard home to bind to only that host:Add On Config
Actual behavior
AdGuard Home still continues to bind on all hosts:
Steps to reproduce
Requires you to run AdGuard Home as the addon on a multi-homed (I'm using VLAN'd) host.
Proposed changes
Bindly pass-through the configuration as yaml to AdGuard Home on start:
./AdGuardHome -c configuration.yaml
In theory AdGuard Home should ignore any YAML values it doesn't understand.
The text was updated successfully, but these errors were encountered: