mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
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#3233
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/2678
Author: @pvdrz
Created: 12/13/2024
Status: ✅ Merged
Merged: 12/19/2024
Merged by: @djc
Base:
main← Head:pvdrz/rfc-2195📝 Commits (5)
050d19frefactor!: removeZoneConfig::fileab282e9rename: StoreConfig -> ServerStoreConfig8e921derefactor!: addZoneTypeConfigand splitStoreConfig56e49c3remove the zone-level enable_dnssec setting6473abcmerge is_zone_signing_key and is_zone_update_auth into a single enum📊 Changes
11 files changed (+509 additions, -345 deletions)
View changed files
📝
bin/src/dnssec.rs(+22 -21)📝
bin/src/hickory-dns.rs(+173 -167)📝
bin/src/lib.rs(+219 -63)📝
bin/tests/integration/authority_battery/dnssec.rs(+3 -5)📝
bin/tests/integration/authority_battery/dynamic_update.rs(+3 -5)📝
bin/tests/integration/config_tests.rs(+73 -27)📝
bin/tests/integration/named_test_rsa_dnssec.rs(+0 -36)📝
conformance/packages/dns-test/src/templates/hickory.name-server.toml.jinja(+3 -2)📝
tests/test-data/test_configs/all_supported_dnssec.toml(+5 -7)📝
tests/test-data/test_configs/dnssec_with_update.toml(+4 -6)📝
tests/test-data/test_configs/dnssec_with_update_deprecated.toml(+4 -6)📄 Description
This PR implements RFC #2195. More specifically it:
ZoneConfig::fileas the followingZoneConfigwas considered valid even though it is ambiguous. However, custom deserializers are implemented so that thefilefield insidenamed.tomlcan still be used if it is not ambiguous and if it is set for the valid type of zone (Primary or Secondary).StoreConfigso eachZoneTypehas its own set of valid stores. This also comes with a new enumZoneTypeConfigthat moves all theZoneConfigfields inside the enum's variants. Making impossible to set configuration fields that are irrelevant for a specificZoneType.TODO:
dnssec_enabled = falseand[zones.keys]at the same time.enable_axfris valid forPrimaryservers or it is only relevant forSecondaryservers.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.