mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #328] [MERGED] NameUsage patterns #1368
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#1368
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/328
Author: @bluejekyll
Created: 1/18/2018
Status: ✅ Merged
Merged: 1/26/2018
Merged by: @bluejekyll
Base:
master← Head:reserved_names📝 Commits (10+)
4a0af3bNameUsage with trie for all zones and ancestor searchca745d3rename to ZoneUsage and cleanup120a715add early return for loopback and nxdomain zones2b4122dadd early return test for localhostbe8098crevert the IntoName to consume self18d0987Merge branch 'master' into reserved_namesb1a80e0move non-essential usages out to clientfe7af02Merge branch 'reserved_names' of github.com:bluejekyll/trust-dns into reserved_names1ea1db4Merge branch 'master' into reserved_names432b062add .invalid test📊 Changes
17 files changed (+916 additions, -21 deletions)
View changed files
📝
Cargo.lock(+25 -0)📝
README.md(+1 -0)📝
client/Cargo.toml(+2 -0)📝
client/src/lib.rs(+3 -0)📝
client/src/rr/mod.rs(+1 -0)➕
client/src/rr/zone.rs(+331 -0)📝
copyright.txt(+2 -1)📝
proto/src/lib.rs(+3 -1)📝
proto/src/rr/domain/mod.rs(+2 -1)📝
proto/src/rr/domain/name.rs(+7 -7)➕
proto/src/rr/domain/usage.rs(+412 -0)📝
resolver/Cargo.toml(+1 -0)📝
resolver/src/hosts.rs(+1 -0)📝
resolver/src/lib.rs(+2 -0)📝
resolver/src/lookup.rs(+7 -1)📝
resolver/src/lookup_state.rs(+108 -2)📝
resolver/src/resolver_future.rs(+8 -8)📄 Description
fixes: #323
fixes: #324
This creates a static list of all reserved names in DNS.
@briansmith, you may be interested in this. I'm not sure about the NameUsage associated enum type variants yet. It was a rough attempt at capturing the information from https://tools.ietf.org/html/rfc6761
It uses the
radix_triefor zone storage and search, which has a nice ancestor search perfect for finding the encapsulating zone for sub-domains.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.