mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #1479] [MERGED] add onion special domain handling #2358
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#2358
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/1479
Author: @trinity-1686a
Created: 5/5/2021
Status: ✅ Merged
Merged: 5/8/2021
Merged by: @bluejekyll
Base:
main← Head:onion📝 Commits (3)
ffd48b6add onion special name handling110a79etry to prevent search of onion domain as subdomain of a search zone242c17fclippy📊 Changes
4 files changed (+88 additions, -2 deletions)
View changed files
📝
crates/client/src/rr/zone.rs(+16 -0)📝
crates/proto/src/rr/domain/usage.rs(+24 -0)📝
crates/resolver/src/async_resolver.rs(+46 -1)📝
crates/resolver/src/caching_client.rs(+2 -1)📄 Description
fix #1382
For search, as it's possible to have a domain like
something.onion.example.com, but very unlikely to have<valid_key>.onion.example.com, this try to evaluate whether thesomething.onionmight be a valid Tor onion domain name based on the length of the name. This match only V3 onion domains (56 chars long), as V2 (16 chars long) are deprecated and will soon be no longer supported🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.