Comments (16)
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.
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 172.30.32.3
) is (and was!) a broken setup: You point two DNS resolvers against each other. This is bound to fail.
from addon-adguard-home.
@agners thanks. not sure if that's still right but this configuration solved the problem for me, at least for now:
from addon-adguard-home.
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
HassOS 11.5
Adguard 5.0.4
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.
from addon-adguard-home.
You can also resolve this issue by ssh'ing in to your Home Assistant and running:
ha dns options --fallback=false
That fixes it in a cleaner way IMHO.
from addon-adguard-home.
I also have the issue with a lot logs like that :
PTR in 2.011455553s: exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:60700->172.30.32.3:53: i/o timeout
2024/03/13 11:32:51.144585 [error] dnsproxy: upstream 172.30.32.3:53 failed to exchange ;10.0.168.192.in-addr.arpa. IN PTR in 2.050525631s: exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:40011->172.30.32.3:53: i/o timeout
2024/03/13 11:32:51.144534 [error] dnsproxy: upstream 172.30.32.3:53 failed to exchange ;10.0.168.192.in-addr.arpa. IN PTR in 2.063796849s: exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:32821->172.30.32.3:53: i/o timeout
2024/03/13 11:32:51.108592 [error] dnsproxy: 172.30.32.3:53: response received over udp: "exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:35352->172.30.32.3:53: i/o timeout"
2024/03/13 11:32:51.144732 [error] dnsproxy: upstream 172.30.32.3:53 failed to exchange ;10.0.168.192.in-addr.arpa. IN PTR in 2.067044979s: exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:35352->172.30.32.3:53: i/o timeout
2024/03/13 11:32:51.108777 [error] dnsproxy: 172.30.32.3:53: response received over udp: "exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:57226->172.30.32.3:53: i/o timeout"
2024/03/13 11:32:51.144825 [error] dnsproxy: upstream 172.30.32.3:53 failed to exchange ;10.0.168.192.in-addr.arpa. IN PTR in 2.059072529s: exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:57226->172.30.32.3:53: i/o timeout
2024/03/13 11:32:51.145437 [error] dnsproxy: 172.30.32.3:53: response received over udp: "exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:56831->172.30.32.3:53: i/o timeout"
.......
from addon-adguard-home.
I am having the same issue as @Gunth with similar logs:
2024/03/13 16:19:02.815653 [error] dnsproxy: upstream 172.30.32.3:53 failed to exchange ;161.1.168.192.in-addr.arpa. IN PTR in 2.009398542s: exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:40740->172.30.32.3:53: i/o timeout
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.
from addon-adguard-home.
Similar to me, with slightly different versions :
- HassOS 11.0
- Adguard 5.0.3
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
from addon-adguard-home.
@etique57, disabling "Use private reverse DNS resolvers" on the adguard web configuration seems to solve the issue for me as suggested here.
from addon-adguard-home.
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.
from addon-adguard-home.
disabling "Use private reverse DNS resolvers" on the adguard web configuration seems to solve the issue for me
from addon-adguard-home.
maybe the default private reverse resolver should point to the HAOS IP?
from addon-adguard-home.
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.
from addon-adguard-home.
Hello together,
I have the same issue with the high CPU load.
I diasbled now the checkbox and the cpu load immediately drops back to normal.
Hopefully the internet connection topic is also solved now.
from addon-adguard-home.
Does anybode know if the latest version which has just been released fixes the issue? It is 5.0.5.
from addon-adguard-home.
Does anybode know if the latest version which has just been released fixes the issue? It is 5.0.5.
It seems not, at least the default config still picks up the DNS plug-in/CoreDNS server:
from addon-adguard-home.
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!
from addon-adguard-home.
Related Issues (20)
- Migration from eth0 to end0 for DHCP HOT 5
- adguarhome add-on does not listen on ipv6 link-local address, and zerotier interface HOT 2
- AdGuard not showing real client IP when using a reverse proxy (NPM/Nginx Addon)
- Abnormal use of disk HOT 6
- Problem with Block Ads while domains are on Blocklist and Custom Filtering Rules HOT 1
- Can you connect to the addon to retrieve stats? HOT 1
- Unable to add to DNS allowlists HOT 1
- Provide an option to use default login dashboard HOT 1
- continuous errors in the plugin HOT 2
- [error] dns: buffer size too small HOT 3
- Broken since home assitant os 12 HOT 7
- AdGuard only listens on 127.0.0.1 HOT 2
- No DNS rewrite anymore HOT 3
- Processing Speed Climbing since March 12th HOT 4
- Cannot get upstream DNS servers to work for the last month and a half now HOT 1
- Which Upstreams DNS are actually used? HOT 1
- Addional switches HOT 1
- Security Hotfix in v0.107.48 - Please trigger release - Access settings not being applied to encrypted protocols HOT 1
- AddOn-AdGuard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-adguard-home.