Files
dnswatcher/internal/resolver
clawbot b599dab525
Some checks failed
Check / check (pull_request) Failing after 5m39s
fix: only set gotTimeout for actual timeout errors
Previously, querySingleType set gotTimeout=true for any queryDNS error,
misclassifying connection refused, network unreachable, etc. as timeouts.

Now uses errors.As(err, &net.Error) with Timeout() check to distinguish
real timeouts from other network errors. Non-timeout errors are tracked
via a new gotError field and classified as StatusError.
2026-02-28 03:34:44 -08:00
..