mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[GH-ISSUE #1355] General purpose DNS parsing library #655
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#655
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 @vorner on GitHub (Jan 14, 2021).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1355
Hello
I'm in a need for a library that is able to parse packets as seen on network for some analytical reasons (not acting as a server or client, just looking at the packets already there). From what I browse through the docs, the
trust-dns-protowould probably be just what I need.However, the documentation specifically says it is not really meant to be used by others and that there might be breaking changes, etc.
So what I would like to know is, how large the breakage might get between versions, or if there's some long-term vision to, besides having a client and server implementations, to also provide some kind of „General purpose parsing/manipulation library“ thing, or if you would rather point me to some different library for these purposes.
@bluejekyll commented on GitHub (Jan 14, 2021):
Thanks for the question.
trust-dns-protois absolutely the crate you want to use for what you've described.On the documentation, we've had that verbiage in place since when we originally split everything into multiple crates a few years ago. At that point, we were concerned about potentially restricting the project to forward compatibility in the proto layer, and slow down development. So we wanted to give guidance that folks who depend on it directly might experience more breaking changes than would occur with the other higher-level crates. In practice I don't think there is any significant difference in that experience.
Edit: in short, I think it's fine to depend directly
trust-dns-protoand maybe we should remove that comment from the README.@vorner commented on GitHub (Jan 15, 2021):
Thank you! :-)
So should this track the update of README, or be closed?
@bluejekyll commented on GitHub (Jan 16, 2021):
We can leave this open until (you?) someone has some time to remove that text from the README.