mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[PR #3106] [MERGED] Change field and method names for Authority section of messages #3564
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#3564
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/3106
Author: @divergentdave
Created: 7/10/2025
Status: ✅ Merged
Merged: 7/11/2025
Merged by: @divergentdave
Base:
main← Head:david/rename-authority-section📝 Commits (3)
41584efRename name_servers to authorities in Message, etc5b28862Revise Message method documentationef7f9beRemove more unnecessary type annotations📊 Changes
25 files changed (+220 additions, -220 deletions)
View changed files
📝
crates/proto/benches/lib.rs(+3 -3)📝
crates/proto/src/dnssec/dnssec_dns_handle/mod.rs(+12 -12)📝
crates/proto/src/dnssec/rdata/tsig.rs(+3 -3)📝
crates/proto/src/error.rs(+3 -3)📝
crates/proto/src/op/header.rs(+15 -15)📝
crates/proto/src/op/message.rs(+84 -84)📝
crates/proto/src/op/update_message.rs(+4 -4)📝
crates/proto/src/xfer/dns_response.rs(+19 -19)📝
crates/recursor/src/lib.rs(+1 -1)📝
crates/recursor/src/recursor.rs(+3 -3)📝
crates/resolver/src/cache.rs(+1 -1)📝
crates/resolver/src/caching_client.rs(+2 -2)📝
crates/server/src/authority/message_request.rs(+11 -11)📝
crates/server/src/authority/message_response.rs(+15 -15)📝
crates/server/src/server/mod.rs(+1 -1)📝
fuzz/fuzz_targets/message.rs(+1 -1)📝
fuzz/fuzz_targets/preserve_rdata.rs(+2 -2)📝
tests/integration-tests/src/lib.rs(+1 -1)📝
tests/integration-tests/src/mock_client.rs(+2 -2)📝
tests/integration-tests/src/mock_request_handler.rs(+1 -1)...and 5 more files
📄 Description
The field representing the Authority section of messages has been named
name_serversup to now, presumably afterNSCOUNTin the header. I think it is clearer to useauthorityorauthorities, after the name of the section itself.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.