mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #2500] [resolver] ResolverOpts::authentic_data wrong documentation or wrong default and setting has no effect #1005
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#1005
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolbma on GitHub (Oct 8, 2024).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2500
Here it says it is true by default...
github.com/hickory-dns/hickory-dns@7887002d11/crates/resolver/src/config.rs (L905-L906)But in
ResolverOpts::default()it is set to false:github.com/hickory-dns/hickory-dns@7887002d11/crates/resolver/src/config.rs (L941)And also whatever this value is set to, my
lookup_ip()queries become always sent with AD bit set.@djc commented on GitHub (Oct 8, 2024):
What version are you using? Might be good to try with 0.25.0-alpha.2.
@kolbma commented on GitHub (Oct 8, 2024):
No change.
@djc commented on GitHub (Oct 9, 2024):
Would be good if you can provide a minimal reproduction example of the allegedly incorrect behavior.
@kolbma commented on GitHub (Oct 9, 2024):
I've commented in code...
@divergentdave commented on GitHub (Mar 3, 2025):
First of all, queries from security-aware resolvers are required to have AD=0, and security-aware name servers are required to ignore the AD bit in queries. (We have a conformance test for the resolver in
resolver::dnssec::rfc4035::section_4::section_4_6::clears_ad_bit_in_outgoing_queries) Secondly, theauthentic_datafield ofResolverOptsis not currently used anywhere, nor was it used anywhere when it was introduced in #1710. We should just remove this option.Edit: also, note that the doc comment of this field is copied from
recursion_desiredabove, where it makes more sense.