mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #1825] Windows client only uses resolved CNAME IP in answers, not in additionals #784
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#784
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 @moschroe on GitHub (Nov 8, 2022).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1825
I want to use trust-dns
namedfor a VPN and internal services. It will be defined as a domain-specific DNS server and only serve internal addresses.I want to use CNAMEs to be flexible later on when I may want to point to servers outside of this internal network. Example:
When I did a compatibility check with a windows system, I could not resolve
some-alias.v.domain.tldto an address and neither the browser nor ping would reach the server for lack of an IP.When I used
server00.v.domain.tld, everything worked fine.When I deactivated the VPN on my test VM and forgot about it, the system used the uplink for DNS and that happened to be the host (also in the VPN), running systemd-resolved. The test succeeded.
Wireshark showed me that the answer to the A query for
some-alias.v.domain.tldfromsystemd-resolvedcontained the CNAME forsome-aliasand an A record forserver00in the answers section.The failing test with trust-dns showed the CNAME record being returned in the answers section but the A record in additionals.
I looked at #513 and it put me on the right track. I patched trust-dns (in-memory authority) to put A (and AAAA) records in answers instead of additionals and now the windows host was able to use the returned answer.
For the time being, I'm using my patched build. It seems
systemd-resolvedqueries the internalnamedand aggregates all answers.Questions: