mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #1635] [MERGED] Parse DS records #2480
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#2480
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/1635
Author: @kmkaplan
Created: 2/14/2022
Status: ✅ Merged
Merged: 2/18/2022
Merged by: @bluejekyll
Base:
main← Head:parse-ds📝 Commits (10+)
c483c8atrust_dns_client::serialize::txt::parse_rdata::RData::parse(): support parsing DSdd9a4e0add a DS in the example.com test zone file1994210fix client::serialize::txt::Parser::parse_time() to require a number before any unit symbol (smhdw)2f184effix clippy "use ofok_orfollowed by a function call"87fd9b3Only compile DNSSEC capabilities if feature dnssec is specifiede409d66Add some knowledge about more DNSSEC algorithms from the RFC: RSAMD5, DSA ande55db8fFix typo: it's DS, not CDS.9abf18aFix cleanliness: apply cargo-fmt9a6dc45Fix tests without features DNSSEC.a17f667Fix store::file::authority::tests::test_load_zone with --all-features📊 Changes
9 files changed (+224 additions, -21 deletions)
View changed files
📝
crates/client/src/serialize/txt/parse_rdata.rs(+37 -0)➕
crates/client/src/serialize/txt/rdata_parsers/ds.rs(+92 -0)📝
crates/client/src/serialize/txt/rdata_parsers/mod.rs(+2 -0)📝
crates/client/src/serialize/txt/zone.rs(+24 -15)📝
crates/proto/src/rr/dnssec/algorithm.rs(+18 -1)📝
crates/proto/src/rr/dnssec/digest_type.rs(+8 -4)📝
crates/proto/src/rr/dnssec/supported_algorithm.rs(+1 -1)📝
crates/server/src/store/file/authority.rs(+6 -0)➕
tests/test-data/named_test_configs/dnssec/example.com.zone(+36 -0)📄 Description
Adds support for parsing DS records from zone files.
This requires a "breaking" change: the TTL parser used to accept raw unit letters as valid values. Thus
DSwas parsed as a 0 second TTL. This PR makes that invalid,🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.