log confusion.. non existent entry in logs.. [error] dnsproxy: exchange failed upstream
Prerequisites
-
[X] I have checked the Wiki and Discussions and found no answer
-
[X] I have searched other issues and found no duplicates
-
[X] I want to report a bug and not ask a question or ask for help
-
[X] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
FreeBSD, AMD64 (aka x86_64)
Installation
GitHub releases or script from README
Setup
On one machine
AdGuard Home version
AdGuard Home, version 0.107.53
Action
Trying to work through these timeout errors in the logs..
Seems they are related to in-addr.arpa requests for IP space I do not have..
Trying to find where it is coming from..
Expected result
only in-addr.arpa requests for my internal ip space.. but there are entries in the error log not in the search log..
Actual result
2024/11/05 09:47:24.551753 ERROR response received addr=10.120.112.200:530 proto=udp status="exchanging with 10.120.112.200:530 over udp: read udp 10.120.48.254:49583->10.120.112.200:530: i/o timeout"
2024/11/05 09:47:24.551813 [error] dnsproxy: exchange failed upstream=10.120.112.200:530 question=";lb._dns-sd._udp.220.82.44.10.in-addr.arpa.\tIN\t PTR" duration=2.021707448s err="exchanging with 10.120.112.200:530 over udp: read udp 10.120.48.254:49583->10.120.112.200:530: i/o timeout"
Additional information and/or screenshots
As always, thank you in advance.
lb._dns-sd._udp.<reverse-name> is a DNS-SD legacy-browsing query generated by
a LAN client or service. AdGuard Home routed it to the configured private
reverse-DNS upstream, which then timed out. Verbose logging or a packet
capture can identify the client address that originated it.
The reason it appeared in the error log but not the query log is the upstream error path exiting before query-log and statistics processing. PR #8544 specifically addresses recording these failed requests.
Hello. Judging by the information, you're experiencing two issues: timeouts and missing entries in the query log. Regarding the query log, this issue is already being tracked in #5826. Regarding timeouts: AGH redirects in-addr.arpa names for private IP addresses to your configured local PTR server (10.120.112.200:530), according to the log. This is what causes the timeout. This is expected behavior. If this isn't your intention, remove your local PTR servers. In this case, NXDOMAIN will be returned from regular resolvers.