mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[GH-ISSUE #3350] AAAA queries return 0 answers from public resolvers #1174
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#1174
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 @TheTechromancer on GitHub (Nov 15, 2025).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/3350
I've been running into this strange bug with hickory's DNS client, but only when making
AAAAqueries.Environment
Reproduction
Output:
Comparison with dig
dig successfully retrieves AAAA records.
tcpdump capture
hickory AAAA query
dig AAAA query
Observation
Tested against: 8.8.8.8 and 1.1.1.1 (both exhibit same behavior)
@djc commented on GitHub (Nov 15, 2025):
That is strange. Why are you using the client API rather than the resolver API?
@TheTechromancer commented on GitHub (Nov 16, 2025):
I need a low level API without the caching / retry logic. Client seemed like the right choice.
I'm pretty new to the library, though. It's possible I'm using it wrong?
@marcus0x62 commented on GitHub (Nov 16, 2025):
I can't reproduce this testing on an almost identical system - I get the correct 4 AAAA responses with hickory-0.25.2 compiled with rust 1.83.0.
To troubleshoot this further, we'll need:
and a tracing subscriber to your code:
run with
RUST_LOG=trace cargo runThe hickory-related entries from your Cargo.lock file (version, source, and checksum) for both hickory-proto and hickory-client
A PCAP-/PCAPng-formatted packet capture
@TheTechromancer commented on GitHub (Nov 21, 2025):
No longer triggering for me either. I first encountered this while on an international flight, on the in-plane Wi-Fi. The network must have been doing some kind of DNS inspection. Why dig worked and hickory didn't may be a mystery for the ages.