mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #2705] tls_dns_name is not fully respected #1043
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#1043
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?
Originally created by @k26pl on GitHub (Jan 3, 2025).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2705
Describe the bug
I am using upstream dns (nextdns) that depends on tls subdomain to load correct config.
NameServerConfigGroup is configured with correct ip and tls_dns_name, but correct config is not loaded by nextdns.
this dns name works correctly in other programs (firefox, android private dns, resolved)
To Reproduce
Expected behavior
It should be possible to configure tls_dns_name to be sent in alpn and sni
System:
Version:
Crate: hickory-server: "0.24.2"
Version: 0.24.2
Additional context
The server appears not to set server name in ALPN
hickory-resolver/src/tls/dns_over_rustls.rs line 71 disables sni without option to easily change it
Additionally on DoH the request query seems to be hardcoded to /dns-query, which does not allow https://dns.nextdns.io/ urls to work
@djc commented on GitHub (Jan 3, 2025):
Suggest trying one of the 0.25.0 alphas which should have quite a few improvements on this front. There is also support for changing the query path.
(Note that the server name does not interact with ALPN, so not sure what you mean by that.)
@k26pl commented on GitHub (Jan 4, 2025):
It works well on alpha, thanks for help