mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-24 18:55:55 +03:00
[GH-ISSUE #3470] [Bug] Timeout error when using DoH3 (h3) in global_resolver example #1189
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#1189
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 @mokeyish on GitHub (Feb 22, 2026).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/3470
Describe the bug
When modifying the global_resolver.rs example to use DNS-over-HTTP/3 (h3), the resolver fails to complete queries and consistently results in a timeout error.
To Reproduce
Apply the following patch to crates/resolver/examples/global_resolver.rs to switch the configuration to H3:
Then run the example:
cargo run --example global_resolver
Actual behavior
The resolver hangs and eventually returns a Timeout error.
Expected behavior
The resolver should be able to initialize and perform DNS lookups successfully using the h3 configuration.
System:
Version:
Crate: resolver
Version: 0.26.0-alpha.1
@djc commented on GitHub (Feb 22, 2026):
Are you sure Google Public DNS supports H3? Maybe try with Cloudflare?
@mokeyish commented on GitHub (Feb 22, 2026):
@djc I also gave Cloudflare a shot, but I'm hitting mysterious hangs and timeouts. It seems like a Tokio scheduling bug when QUIC creates a connection. Spent hours troubleshooting but I'm stuck.
@djc commented on GitHub (Feb 23, 2026):
I'm unlikely to have time to look into this deeply in the next month or so. I think we have at least some H3 tests which are passing most of the time, so I suggest starting from those and comparing? Also if you share data collected from your troubleshooting here I can have a look.