mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #511] Answers should use original query names, not what's in the catalog #211
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#211
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 @rushmorem on GitHub (Jun 12, 2018).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/511
*that may be in the catalog@bluejekyll commented on GitHub (Jun 12, 2018):
Ah, interesting. This may be in a bit of conflict with the current model of Iterators used for response collection.
Basically I converted the return path to not clone on any return, and Records carry the Name from the server.
@rushmorem commented on GitHub (Jun 12, 2018):
Yeah, I noticed. That should help with memory usage.
@bluejekyll commented on GitHub (Jun 12, 2018):
yes... but it’s probably going to make fixing this a challenge is my point. The easiest place to do this replacement will be close to serialization time...
Maybe there’s an easy wrapper type that can be placed on all answer records that has the associated query? And that can be used for serialization? It could be applied with a map function on the record set lookup...
@bluejekyll commented on GitHub (Apr 9, 2019):
Not sure when exactly this was fixed, but original queries are returned in the response now.