mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 19:25:56 +03:00
[GH-ISSUE #2255] DNS over HTTPS not working as before? #940
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#940
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 @PhantomPlasma0064 on GitHub (Jun 21, 2024).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2255
Describe the bug
Hello. I recently discovered a small application I made a while back with trust-dns and decided to update it to use hickory-dns. When I tried to run it, the app stopped working even through all I did was update the dependency. I through it was from my side, but when downgrading to trust-dns, it worked again. I figured there would be no harm in creating an issue about it and minimized it to make it reproducable.
To Reproduce
Expected behavior
Both functions return Ok with the ip(s) of the queried site. Instead shows:
or (mostly)
System:
Version:
Crate: resolver
Version: 0.24.1
@cpu commented on GitHub (Jun 21, 2024):
Hi @PhantomPlasma0064,
With hickory-resolver 0.24.x you also need to activate a feature to specify the source of trusted root certificates, like
webpki-rootsornative-roots.In
0.25.0-alpha.1this was made more obvious (see https://github.com/hickory-dns/hickory-dns/pull/2179, https://github.com/hickory-dns/hickory-dns/pull/2181).Unfortunately with 0.24 it's a subtle issue and folks keep tripping over it (see https://github.com/hickory-dns/hickory-dns/issues/2249, https://github.com/hickory-dns/hickory-dns/issues/2066).
Hope this helps,
@PhantomPlasma0064 commented on GitHub (Jun 21, 2024):
It worked! Thank you very much!