-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
DNS loop between adguard and hassio_dns #501
Comments
I also have the issue with a lot logs like that :
|
I am having the same issue as @Gunth with similar logs:
Running home assistant 2024.3.0, supervisor 2024.03.0 and adguard home addon 5.0.4 with no changes on the configuration and started to suffer this problems overnight. Using a raspberry pi 4 with HAOS 12.0. Disabling "Use private reverse DNS resolvers" on the adguard configuration seems to solve the issue for me. |
Similar to me, with slightly different versions :
on a tinkerboard. Problem suddenly appeared yesterday between 20 and 21pm UTC+1, with no configuration change whatsoever on my side. Did the supervisor upgrade itself, or one of the dockers inside it? No clue. Doing ha dns reset + ha dns restart (both are required) solves the situation for a few minutes |
Thanks @jrhbcn I tried but my trials weren't conclusive. Actually resolution of names is fine from outside the docker network (my home network or from the SSH addon on Hassio), but I'm using the caddy addon for reverse proxying and that's what fails: all queries from the Caddy addon to the DNS (which one?) fail. |
disabling "Use private reverse DNS resolvers" on the adguard web configuration seems to solve the issue for me |
There was a DNS plug-in release (2024.03.0) which upgraded the DNS system to CoreDNS 1.8.7. This is only a patch release though. However, it could be that the patch release slightly altered the behavior when it comes to reverse lookups. In any case, the setup where the Home Assistant IP where AdGuard add-on runs on is used on DHCP, and "Use private reverse DNS resolvers" is enabled (without an explicit one which is not |
@agners thanks. not sure if that's still right but this configuration solved the problem for me, at least for now: |
Just wanted to add my voice in support of this issue. My CPU spiked and Home Assistant rebooted every 10 minutes while I debugged this issue over the last couple of hours after updating the addon. I'm running Core 2024.3.0 And the proposed solution to disable "Use private reverse DNS resolvers" worked for me. Thanks for the comments above so far! I was almost about to revert to a backup. I believe this setting should be disabled by default in the most recent update so current systems don't break for downstream users. The DNS loop should also be documented in case someone wants to enable private reverse DNS resolvers. |
HAOS IP? Why would that be helpful? When AdGuard is installed, the default respnder is AdGuard.. So this would set AdGuard as reverse DNS resolver for AdGuard? Typically, the device who hands out IP addresses for your network (DHCP server) has a DNS server running which can reverse resolve IP addresses. So this should be your router's IP address. In most setup, the routers IP is the default DNS server pushed via DHCP. So what might be a good default here is the DNS server of the primary network interface. |
Hello together, Hopefully the internet connection topic is also solved now. |
Does anybode know if the latest version which has just been released fixes the issue? It is 5.0.5. |
You can also resolve this issue by ssh'ing in to your Home Assistant and running: That fixes it in a cleaner way IMHO. |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
Problem/Motivation
With latest hassio_dns adn adguard I see very high cpu usage and then a reboot.
Expected behavior
Low cpu usage + no reboot.
Actual behavior
High cpu usage and then a reboot.
Steps to reproduce
Configure home assistant to use adguard DNS to resolve all queries and reboot.
Proposed changes
See home-assistant/plugin-dns#130 (comment)
The proposed solution to disable "Use private reverse DNS resolvers" avoids the DNS loop.
Perhaps consider disable as the default setting or simply document the possible DNS loop.
The text was updated successfully, but these errors were encountered: