Skip to content

Conversation

@jsha
Copy link
Contributor

@jsha jsha commented Oct 15, 2025

This had some special casing for the "id mismatch" error we were tracking for a while. We've resolved that issue by switching to DoH and now see 0 instances of "id mismatch." However, it's still been occasionally useful to see the detailed DNS errors, so I'm keeping a simplified log line.

This had some special casing for the "id mismatch" error we were tracking for a
while. We've resolved that issue by switching to DoH and now see 0 instances of
"id mismatch." However, it's still been occasionally useful to see the detailed
DNS errors, so I'm keeping a simplified log line.
@jsha jsha force-pushed the cleanup-logdnserror branch from c4a8284 to a3f6107 Compare October 15, 2025 19:17
@jsha jsha marked this pull request as ready for review October 15, 2025 19:53
@jsha jsha requested a review from a team as a code owner October 15, 2025 19:53
@jsha jsha requested a review from beautifulentropy October 15, 2025 19:53
aarongable
aarongable previously approved these changes Oct 21, 2025
@jsha jsha requested a review from a team October 21, 2025 19:09
bdns/dns.go Outdated
"resolver": chosenServerIP,
}).Inc()
}
queryType := dns.TypeToString[m.Question[0].Qtype]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since m.SetQuestion already sets m.SetQuestion(dns.Fqdn(hostname), qtype) and qtypeStr := dns.TypeToString[qtype], these should always be the same. Was there a reason to pull it from the message instead of reusing qtypeStr?

@aarongable aarongable merged commit ea43ed6 into main Oct 27, 2025
12 checks passed
@aarongable aarongable deleted the cleanup-logdnserror branch October 27, 2025 22:03
mcpherrinm added a commit that referenced this pull request Nov 5, 2025
This was accidentally deleted along with the idMismatchCounter in #8445.

This is an alternative approach to #8474, and perhaps a reasonable default
pattern for all stats registration in Boulder.
aarongable pushed a commit that referenced this pull request Nov 6, 2025
This was accidentally deleted along with the idMismatchCounter in #8445.

This is an alternative approach to #8474, and perhaps a reasonable
default pattern for all stats registration in Boulder.

For more on promauto, see its documentation:
https://pkg.go.dev/github.com/prometheus/client_golang@v1.23.2/prometheus/promauto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants