mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #2782] [MERGED] Add negative test for NSEC3 validation #3310
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#3310
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?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/2782
Author: @divergentdave
Created: 2/14/2025
Status: ✅ Merged
Merged: 2/25/2025
Merged by: @divergentdave
Base:
main← Head:david/ds-cover-test📝 Commits (1)
1f3a08fAdd negative test for NSEC3 validation📊 Changes
6 files changed (+360 additions, -2 deletions)
View changed files
📝
conformance/packages/conformance-tests/src/resolver/dnssec/scenarios.rs(+1 -0)➕
conformance/packages/conformance-tests/src/resolver/dnssec/scenarios/nsec3.rs(+1 -0)➕
conformance/packages/conformance-tests/src/resolver/dnssec/scenarios/nsec3/does_not_cover/mod.rs(+76 -0)➕
conformance/packages/conformance-tests/src/resolver/dnssec/scenarios/nsec3/does_not_cover/server.py(+277 -0)📝
conformance/packages/dns-test/src/docker/dnslib.Dockerfile(+4 -1)📝
conformance/packages/dns-test/src/name_server.rs(+1 -1)📄 Description
This adds a test case for #2774. It passes with the latest commit, and fails with older commits. The test adds a bunch of records to a zone and signs it, and then has a dnslib-based server pick one NSEC3 and RRSIG record pair to use with all NXDOMAIN responses. It then probes the resolver with a few queries and checks if it gets SERVFAIL back. (previously Hickory DNS would return NXDOMAIN)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.