mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[GH-ISSUE #132] [Client] Add examples of use to documentation #362
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#362
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 @SamWhited on GitHub (May 12, 2017).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/132
It is unclear to me from looking at the documentation what the difference between, say, a
Clientand aClientHandleris, or how you'd perform basic operations (eg. querying DNS srv records, or what type is useful if you want to have a function just take "a client").Having usage examples in the documentation for each type and in the module documentation for client would make getting started with this library much easier. Similar examples should be added for other modules too.
@bluejekyll commented on GitHub (May 12, 2017):
Yes. I keep planning to do this. I will add some when I have some time, but will also gladly accept PRs.
For now please look at tests: https://github.com/bluejekyll/trust-dns/blob/master/server/tests/client_tests.rs
@bluejekyll commented on GitHub (Jun 30, 2017):
From reddit: "I need to send a dns request to check A, AAAA, MX and SOA records of a domain."
https://www.reddit.com/r/rust/comments/6kgjnq/retrieving_and_parsing_different_types_of_dns/
@bluejekyll commented on GitHub (Jul 7, 2017):
FYI, please see https://docs.rs/trust-dns and https://docs.rs/trust-dns-resolver for example docs on the libraries.