mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #1605] [CLOSED] Saethlin fix rdata zero #2453
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#2453
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/1605
Author: @bluejekyll
Created: 12/11/2021
Status: ❌ Closed
Base:
main← Head:saethlin-fix-rdata-zero📝 Commits (9)
5b88a52Add failing test from round-trip fuzzinga618bd2Fix failing test2f43789Make Record's Default impl consistentd75c72fDo not use NULL rdata with ZERO rtype7ef630afirst pass, make RData optional in Recorded70efaadd assert that all data in rd_length is consumedd83b6cbensure ZERO RData length is always verified316e3aeremove deprecated uses of Record::rdatac48466bfix dynamic-dns matching📊 Changes
52 files changed (+651 additions, -505 deletions)
View changed files
📝
bin/benches/comparison_benches.rs(+1 -1)📝
bin/tests/named_tests.rs(+2 -2)📝
bin/tests/server_harness/mod.rs(+3 -3)📝
crates/client/README.md(+1 -1)📝
crates/client/src/client/async_client.rs(+2 -7)📝
crates/client/src/lib.rs(+3 -3)📝
crates/client/src/op/update_message.rs(+1 -1)📝
crates/client/src/rr/dnssec/signer.rs(+34 -16)📝
crates/client/src/rr/dnssec/tsig.rs(+1 -1)📝
crates/client/src/serialize/txt/parse_rdata.rs(+1 -0)📝
crates/client/src/serialize/txt/rdata_parsers/svcb.rs(+4 -2)📝
crates/client/src/serialize/txt/zone.rs(+2 -2)📝
crates/proto/src/https/https_client_stream.rs(+16 -20)📝
crates/proto/src/op/edns.rs(+6 -5)📝
crates/proto/src/op/message.rs(+9 -0)📝
crates/proto/src/rr/dnssec/rdata/tsig.rs(+3 -3)📝
crates/proto/src/rr/dnssec/tbs.rs(+5 -2)📝
crates/proto/src/rr/rdata/null.rs(+14 -17)📝
crates/proto/src/rr/record_data.rs(+7 -1)📝
crates/proto/src/rr/record_type.rs(+6 -0)...and 32 more files
📄 Description
This is an alternate fix for #1594. It allows Dynamic DNS records to continue to work properly,
but maintains the ZERO rdata with the ZERO record typeand makes theRecord::rdataoptional to better reflect the ZERO and NULL types.Closes: #1594
Fixes: #1571
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.