mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #2411] wrong answer (NOERROR or timeout) when referral includes a private IP address #982
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#982
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 @japaric on GitHub (Sep 3, 2024).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2411
Describe the bug
what the title says
To Reproduce
send a query of the form
A $SUB.extended-dns-errors.com.to hickory-dns where$SUBis one of theseExpected behavior
All these subdomains should return a
SERVFAILanswer.In the case of the
v6subdomains andv4-this-hosthickory times out. In the other cases, hickory responds with a NOERROR response that has empty sections (ANSWER, ADDITIONALS, etc.)System:
Version:
Crate:
hickory-dnsVersion:
752559e6a8Additional context
Some of these scenarios are being ported to
conformance-testsin #2410Even though these issues were found through the
ede-dot-comtest suite, they are not DNSSEC issues but issues in regular DNS recursive resolution.hickory-dns could consider putting some of these private IP subnets and/or IP addresses (e.g.
127.0.0.1,0.0.0.0) in its default "blocklist" to avoid trying to establish a network connection with a reserved IP address. There are legitimate use cases for having name servers in private IP subnets (e.g.172.16.0.1/16) which is whatconformance-testsdoes so those should not be put in a default blocklist.Even without a default blocklist , hickory-dns should not respond with NOERROR if the referral is unreachable.