[PR #3241] [MERGED] Rename Authority to ZoneHandler #3674

Closed
opened 2026-03-16 11:56:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/3241
Author: @divergentdave
Created: 8/28/2025
Status: Merged
Merged: 9/2/2025
Merged by: @divergentdave

Base: mainHead: david/rename-authority


📝 Commits (10+)

  • c00f82d Rename Authority to ZoneHandler
  • 88c9d13 Rename DnssecAuthority to DnssecZoneHandler
  • b77ceda Rename BlocklistAuthority to BlocklistZoneHandler
  • 24e3812 Rename ForwardAuthority to ForwardZoneHandler
  • 59a5243 Rename RecursiveAuthority to RecursiveZoneHandler
  • 918b237 Rename TestAuthority to TestZoneHandler
  • dbd50d2 Rename FileAuthority to FileZoneHandler
  • 0804a4c Rename SqliteAuthority to SqliteZoneHandler
  • 5542868 Rename InMemoryAuthority to InMemoryZoneHandler
  • 6046f38 Rename variables and functions, update text

📊 Changes

61 files changed (+1064 additions, -1073 deletions)

View changed files

📝 ARCHITECTURE.md (+2 -2)
📝 bin/src/dnssec.rs (+13 -9)
📝 bin/src/hickory-dns.rs (+2 -2)
📝 bin/src/lib.rs (+29 -29)
📝 bin/tests/integration/config_tests.rs (+1 -1)
📝 bin/tests/integration/forwarder.rs (+2 -2)
📝 bin/tests/integration/in_memory.rs (+3 -3)
📝 bin/tests/integration/main.rs (+1 -1)
📝 bin/tests/integration/named_metrics_tests.rs (+5 -5)
📝 bin/tests/integration/server_harness/mod.rs (+3 -3)
📝 bin/tests/integration/server_harness/mut_message_client.rs (+1 -1)
📝 bin/tests/integration/store_file_tests.rs (+12 -12)
📝 bin/tests/integration/store_sqlite_tests.rs (+8 -8)
📝 bin/tests/integration/txt_tests.rs (+19 -19)
📝 bin/tests/integration/zone_handler_battery/basic.rs (+63 -63)
📝 bin/tests/integration/zone_handler_battery/dnssec.rs (+34 -38)
📝 bin/tests/integration/zone_handler_battery/dynamic_update.rs (+70 -70)
📝 bin/tests/integration/zone_handler_battery/mod.rs (+0 -0)
📝 crates/resolver/src/caching_client.rs (+0 -2)
📝 crates/server/src/lib.rs (+1 -1)

...and 41 more files

📄 Description

This renames the Authority trait to ZoneHandler, renames its sub-trait and implementations, renames various modules, functions, and methods, and updates comments and messages. The authority metrics label on one counter is renamed as well. Part of #3169.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/3241 **Author:** [@divergentdave](https://github.com/divergentdave) **Created:** 8/28/2025 **Status:** ✅ Merged **Merged:** 9/2/2025 **Merged by:** [@divergentdave](https://github.com/divergentdave) **Base:** `main` ← **Head:** `david/rename-authority` --- ### 📝 Commits (10+) - [`c00f82d`](https://github.com/hickory-dns/hickory-dns/commit/c00f82d353efa8f293f3d22db5ca376062b56084) Rename Authority to ZoneHandler - [`88c9d13`](https://github.com/hickory-dns/hickory-dns/commit/88c9d134872496804c151b78b583ce9201bfbdc5) Rename DnssecAuthority to DnssecZoneHandler - [`b77ceda`](https://github.com/hickory-dns/hickory-dns/commit/b77ceda5b5e66317c51a34ddaee0dcfdf194d9d9) Rename BlocklistAuthority to BlocklistZoneHandler - [`24e3812`](https://github.com/hickory-dns/hickory-dns/commit/24e3812384e7baac14d6f3d4ba0745e4ff8366cd) Rename ForwardAuthority to ForwardZoneHandler - [`59a5243`](https://github.com/hickory-dns/hickory-dns/commit/59a52435b58700b8a3d81b3701db27cfefe165b7) Rename RecursiveAuthority to RecursiveZoneHandler - [`918b237`](https://github.com/hickory-dns/hickory-dns/commit/918b23738a1842445ecdb29b4ffdd159f241e081) Rename TestAuthority to TestZoneHandler - [`dbd50d2`](https://github.com/hickory-dns/hickory-dns/commit/dbd50d2109ed8ef341625ed9a9281c6bf991a899) Rename FileAuthority to FileZoneHandler - [`0804a4c`](https://github.com/hickory-dns/hickory-dns/commit/0804a4c083b205c8d08e4867d37505eaa17f47a6) Rename SqliteAuthority to SqliteZoneHandler - [`5542868`](https://github.com/hickory-dns/hickory-dns/commit/55428684cdd3a17bcd50a64f71a90368a9c0710b) Rename InMemoryAuthority to InMemoryZoneHandler - [`6046f38`](https://github.com/hickory-dns/hickory-dns/commit/6046f3821238cf430fc0214cac6cdf8a3e51faf8) Rename variables and functions, update text ### 📊 Changes **61 files changed** (+1064 additions, -1073 deletions) <details> <summary>View changed files</summary> 📝 `ARCHITECTURE.md` (+2 -2) 📝 `bin/src/dnssec.rs` (+13 -9) 📝 `bin/src/hickory-dns.rs` (+2 -2) 📝 `bin/src/lib.rs` (+29 -29) 📝 `bin/tests/integration/config_tests.rs` (+1 -1) 📝 `bin/tests/integration/forwarder.rs` (+2 -2) 📝 `bin/tests/integration/in_memory.rs` (+3 -3) 📝 `bin/tests/integration/main.rs` (+1 -1) 📝 `bin/tests/integration/named_metrics_tests.rs` (+5 -5) 📝 `bin/tests/integration/server_harness/mod.rs` (+3 -3) 📝 `bin/tests/integration/server_harness/mut_message_client.rs` (+1 -1) 📝 `bin/tests/integration/store_file_tests.rs` (+12 -12) 📝 `bin/tests/integration/store_sqlite_tests.rs` (+8 -8) 📝 `bin/tests/integration/txt_tests.rs` (+19 -19) 📝 `bin/tests/integration/zone_handler_battery/basic.rs` (+63 -63) 📝 `bin/tests/integration/zone_handler_battery/dnssec.rs` (+34 -38) 📝 `bin/tests/integration/zone_handler_battery/dynamic_update.rs` (+70 -70) 📝 `bin/tests/integration/zone_handler_battery/mod.rs` (+0 -0) 📝 `crates/resolver/src/caching_client.rs` (+0 -2) 📝 `crates/server/src/lib.rs` (+1 -1) _...and 41 more files_ </details> ### 📄 Description This renames the `Authority` trait to `ZoneHandler`, renames its sub-trait and implementations, renames various modules, functions, and methods, and updates comments and messages. The `authority` metrics label on one counter is renamed as well. Part of #3169. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:56:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#3674
No description provided.