Commit Graph

73 Commits

Author SHA1 Message Date
Benjamin Fry
ec806ae445 change results of validation to always return records 2024-03-02 11:43:52 -05:00
Benjamin Fry
1d2a1df0ee change to Proofs to rrset validation 2024-03-02 11:43:52 -05:00
Benjamin Fry
d07ef69962 Remove generic Error from DnsHandle 2023-11-26 15:00:32 -05:00
Liam Gray
b0b6957b58 Add getters for resolver config and options (#2093) 2023-11-20 13:37:06 +01:00
Benjamin Fry
408d0baca0 Prepare 0.24 release with branding change to Hickory DNS (#2054)
* update all READMEs with notices about the name change

* update changelog for 0.24

* bump crate versions to 0.24

* update version notice information

* update readmes to back reference trust-dns

* rename all crates to hickory counterparts

* replace all Trust-DNS references in code and comments with Hickory DNS

* rename all Trust-DNS references to Hickory DNS in non-code

* rename all trust-dns-resolver references to hickory-resolver

* rename all trust-dns-client references to hickory-client

* rename all trust-dns-proto references to hickory-proto

* rename all trust-dns-server references to hickory-server

* rename all trust-dns-compatibility references to hickory-compatability

* rename all trust-dns-integration references to hickory-integration

* rename all trust-dns-util references to hickory-util

* Update MIT licenses to reference Hickory DNS

* update all trust-dns references to hickory-dns

* update all bluejekyll github references to hickorydns org

* Update name in Changelog

* make sure hickory-dns logs during tests

* add changelogs for recent main additions

* fix references to trust-dns and hickory in architecture

* update a few trust-dns references in READMEs

* fixup some dangling trust_dns references

* replace fka with formerly in change log

* replace all hickoydns org references to hickory-dns

* replace all http links with https

* update logos

* update hickorydns to hickory-dns for all other org references

* fix Notices of Trust-DNS to Hickory in each Readme
2023-10-13 18:39:28 -07:00
daxpedda
cf26eb52db Remove Copy from ResolverOpts 2023-09-19 16:31:33 -07:00
XOR-op
00fb6faaf4 fix: error in rebase 2023-06-06 12:12:09 -07:00
XOR-op
b0c4aa92bc fix(WIP): improper use with features 2023-06-06 12:12:09 -07:00
XOR-op
5ab85e297d feat(WIP): change relevant types 2023-06-06 12:12:09 -07:00
XOR-op
b58a8585a6 chore: rename {Abstract} back 2023-06-06 12:12:09 -07:00
dAxpeDDa
1d9d50cbe0 Return Self from AsyncResolver::new() 2023-05-22 11:04:18 +02:00
Benjamin Fry
3a099742fa cleanup workspace features 2023-05-10 22:55:38 +02:00
Benjamin Fry
7a9e39a863 cleanliness updates forrustc 1.69 2023-05-10 22:55:38 +02:00
Benjamin Fry
7aaf10078d use proper rust convention for RData::{ip_addr, record_type} fns 2023-03-24 08:47:59 -07:00
XOR-op
3410e9e95a fix compile errors 2023-03-04 11:03:13 -08:00
XOR-op
61884a1b2e fix TokioRuntimeProvider bug 2023-03-04 11:03:13 -08:00
XOR-op
03af149076 fix clippy and compile errors 2023-03-04 11:03:13 -08:00
XOR-op
63a1f7692e test: fix compile errors 2023-03-04 11:03:13 -08:00
XOR-op
74bdef0d9a replace ConnProvider with RuntimeProvider 2023-03-04 11:03:13 -08:00
XOR-op
3c3f14ddc5 fix nameserver logic and udp socket creation 2023-03-04 11:03:13 -08:00
XOR-op
c494045673 WIP: logic of NameServer 2023-03-04 11:03:13 -08:00
Benjamin Fry
b34dfff95c fix formatting for inline variables 2023-02-06 09:25:04 -08:00
HLFH
98fd773a08 fix DNSSec typo > DNSSEC 2022-12-20 15:22:05 +01:00
Jeff Hiner
15423b8610 Use JoinSet for resolver tokio tasks 2022-09-13 08:46:56 -07:00
Benjamin Fry
a89cde5393 remove DnsRequestOptions from AsyncResolver::lookup 2022-08-24 15:20:43 -07:00
Stefan Schindler
11b84140ff Relax mut requirements for resolver.clear_cache() and add cache flushing example (#1747) 2022-08-01 17:12:38 +02:00
Erik Hollensbe
77a821f52b Move log to tracing package
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-05-09 10:33:19 -07:00
Fantix King
fab0b6aa6e CRF: merge impl and raise io::Error
Also fixed a redundant closure and a Rustfmt issue.
2022-05-08 12:54:22 -07:00
Fantix King
1845ccd088 Allow customizing the static hosts configuration
This allows custom runtimes to provide the hosts configuration in their
own way, like using io_uring instead of the std::fs::File::open() to
read the system hosts file.
2022-05-08 12:54:22 -07:00
Noah Kennedy
68ff5089af make constructors for AsyncResolver with custom providers public
This allows users to use custom connection providers, like in #1653.
2022-03-02 15:02:14 -08:00
Benjamin Fry
95b2dee327 add clippy::use_self for cleanliness 2022-02-17 19:47:32 -08:00
Benjamin Fry
61da37009e first pass, make RData optional in Record 2022-02-08 00:58:14 +01:00
Stefan Schindler
a30e694421 Add resolver.clear_cache() sync and async (#1611)
* Add resolver.clear_cache() sync and async

* Synchronise the docs
2022-01-04 15:00:02 -08:00
Peter Johnston
aefb6deded Default to only switch to TCP if response was truncated
Currently, if queries to name servers over UDP result in either a
truncated response, or any kind of error, the query will be retried over
TCP. It should be possible to only use TCP for the case of oversized
messages, and avoid it in the common case. This change makes this the
default behavior and adds an option to ResolverOpts that can be enabled
to get the current behavior.
2021-10-08 09:46:55 -07:00
Benjamin Fry
69829fa9ca fix negative dnssec test after trust-dns.org zone change 2021-08-22 19:51:56 -07:00
Trinity Pointard
032b33c9fc clippy 2021-05-08 13:42:42 -07:00
Trinity Pointard
e4118250f8 try to prevent search of onion domain as subdomain of a search zone 2021-05-08 13:42:42 -07:00
Benjamin Fry
6dfc6713fa fix panic on name too long 2021-04-11 08:48:15 -07:00
Benjamin Fry
4e30b1b1c9 disable mDNS, remove multi-return array 2021-04-09 21:57:43 -07:00
Benjamin Fry
3f270a0aae mark ResolverOpts and DnsRequestOptions as non_exhaustive 2021-04-06 10:29:16 +02:00
Benjamin Fry
c425bdbd6e improve resolver docs for docsrs 2021-03-27 19:53:44 -07:00
Benjamin Fry
6fcc72acca Make all warnings across crates and binaries consistent 2021-03-08 15:34:26 -08:00
Benjamin Fry
7a4b3b55c3 fix clippy warnings for rustc 1.50 2021-02-17 23:19:59 -08:00
Benjamin Fry
24c4ccdf02 remove TokioHandle from public interfaces 2020-11-28 20:38:00 -08:00
Benjamin Fry
402a14abce upgrade trust-dns-resolver to Tokio 0.3 2020-11-28 20:38:00 -08:00
Benjamin Fry
8056cb0d83 clippy updates for rust 1.48 2020-11-24 14:54:07 -08:00
Dirkjan Ochtman
4ee7ffadfd explicitly make Connect implement the Transport 2020-10-16 13:24:45 -07:00
Dirkjan Ochtman
587273247e resolver: rename lookup_state to caching_client 2020-10-16 01:53:05 -07:00
Dirkjan Ochtman
90bfbede51 move Arc<Mutex<_>> wrapper into DnsLru 2020-10-16 01:53:05 -07:00
Dirkjan Ochtman
c0cdfbf2dd inline single-use constructor method 2020-10-16 01:53:05 -07:00