Commit Graph

179 Commits

Author SHA1 Message Date
80f2a17bff recursor: make the test helpers more capable
they did not previously allow any way to mock DNS query sequences
in a manner compatible with the RecursorPool, which prefers to create
new NameServers itself, rather than via anything injectable by the test.
2024-05-05 20:07:46 +00:00
situ2001
eb79382a36 fix: update ip of example.com 2024-04-20 13:08:29 -07:00
Marcus Butler
b414fe8d78 Recursor: make nameserver and record cache sizes configurable 2024-01-01 16:57:39 -05:00
Benjamin Fry
d07ef69962 Remove generic Error from DnsHandle 2023-11-26 15:00:32 -05: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
f10faa3516 Rename HTTPS implementation to H2 2023-10-06 09:12:32 -07:00
daxpedda
52194bf88c Remove unnecessary whitespace 2023-10-06 09:12:32 -07:00
daxpedda
72af881303 Util implementation 2023-10-06 09:12:32 -07:00
Dirkjan Ochtman
9651dbde89 util: clarify internal structure 2023-09-26 08:28:39 -07:00
Dirkjan Ochtman
1fef1e888f Avoid deprecated rustls API 2023-09-26 08:28:39 -07:00
dAxpeDDa
0515bf54a2 Add webpki-roots and native-certs features 2023-08-31 14:26:39 -07:00
daxpedda
3436a36244 Remove unused rustls-webpki dependency 2023-08-31 14:26:39 -07:00
Zhang Jingqiang
3f9a68c15e use new version of webpki 2023-08-02 08:03:33 +02:00
Benjamin Fry
2065cea7f7 remove all references to cargo-make and Makefile.toml 2023-06-05 08:41:46 -07:00
Benjamin Fry
2d352ae66a fixups for Rust 1.70 2023-06-01 17:39:08 -07:00
dAxpeDDa
1d9d50cbe0 Return Self from AsyncResolver::new() 2023-05-22 11:04:18 +02:00
Daniel McCarney
2b78a1fb0b deps: update rustls, tokio-rustls, quinn, webpki, webpki-roots.
This commit updates the Rustls dependency to the recently released
0.21.0 tag, and to update tokio-rustls to 0.24.0 to use the same rustls
release. It also updates webpki-roots to 0.23.0, and to use rustls' fork
of webpki instead of the original.

A couple of small upstream API changes are addressed to ensure the build
and tests pass.
2023-05-15 16:59:08 +02:00
Benjamin Fry
c455bcd056 use workspace for all common package details 2023-05-10 22:55:38 +02:00
Benjamin Fry
3a099742fa cleanup workspace features 2023-05-10 22:55:38 +02:00
Benjamin Fry
f7383806a8 update version to 0.23-alpha.1 2023-05-10 22:55:38 +02:00
Benjamin Fry
fbead51221 cleanup uses and copyrights 2023-03-24 08:47:59 -07:00
Benjamin Fry
afe368b5bd Simplify encode and decode of fixed length types 2023-03-24 08:47:59 -07:00
YISH
a0a4acb7cf Update MSRV to 1.64 2023-03-20 11:36:21 -07:00
YISH
590b47a3f2 Introduce central crate version management 2023-03-20 11:36:21 -07:00
Dirkjan Ochtman
343eeb806e Upgrade to 2021 edition 2023-03-20 08:49:12 -07:00
Benjamin Fry
b34dfff95c fix formatting for inline variables 2023-02-06 09:25:04 -08:00
Dirkjan Ochtman
532dca3bd9 Move client code used by server code down into proto 2023-02-06 09:25:04 -08:00
Mattias Päivärinta
c5ed00fda2 Rename DnsResponse::into_inner() -> into_message() 2023-01-05 13:42:12 -08:00
Jeff Hiner
30aed7abc2 Don't retry NOERROR with an empty set, from trusted resolvers 2022-12-21 22:52:05 +01:00
Benjamin Fry
013307146d clippy updates for Rust 1.66 2022-12-20 19:52:31 -08:00
HLFH
ee45c2b970 make homepage link simpler for end users 2022-12-20 14:08:09 -08:00
HLFH
98fd773a08 fix DNSSec typo > DNSSEC 2022-12-20 15:22:05 +01:00
Dominic
0808636d92 Replace http: links with https: 2022-11-29 11:29:24 -08:00
Axel Viala
09cf3b92f7 Port pem_to_public_dnskey to clap4 derive API. 2022-11-10 14:53:28 -08:00
Axel Viala
f587ea2289 Improve error message if key-file not opennable. 2022-11-10 14:53:28 -08:00
Axel Viala
8477fbe106 Port dnskey_to_pem to clap4 derive API. 2022-11-10 14:53:28 -08:00
Axel Viala
730a84c648 Port commands line interfaces to clap 4. 2022-11-10 14:53:28 -08:00
dependabot[bot]
7052656011 Bump clap from 3.2.18 to 4.0.18
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.18 to 4.0.8.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.18...v4.0.8)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 14:53:28 -08:00
Benjamin Fry
f7128a1a58 fix cleanliness for 1.65 2022-11-04 16:29:39 +01:00
David Bürgin
ccd875bce4 Declare rust-version in Cargo.toml 2022-11-03 15:34:46 -07:00
Italo Cunha
2e3ec9041b Add support for resolving a list of IPs
The implementation reads one line of the input file every interval
(default 1s) and asynchronously resolves it.  Results are printed in the
order their responses arrive.

* Added --file and --interval to command-line parameters
* Added clap group directives to mark invalid parameter combinations
* Improved printing of queries and error messages
2022-10-25 13:55:54 -07:00
Italo Cunha
b1b386f59a add support for --reverse in trust-dns-util
* Previous code allowed for reverse lookups but required the user to
  pass `in-addr.arpa` hostnames.  Passing `--reverse` makes the
  conversion automatically.

* Minor changes to output to make the query type explicit.
2022-10-25 13:55:54 -07:00
Benjamin Fry
379469a979 prepare 0.22.0 release 2022-09-02 12:21:49 +02:00
Benjamin Fry
654fc5183d rename hints to roots in source and docs 2022-08-24 15:20:43 -07:00
Benjamin Fry
a84deaca12 initial recursive resolution working 2022-08-24 15:20:43 -07:00
Benjamin Fry
25861da44e add NS search method 2022-08-24 15:20:43 -07:00
Benjamin Fry
28ffe0e8b6 initial layout of recursor 2022-08-24 15:20:43 -07:00
Benjamin Fry
47ac8b39f7 adjust interfaces for recursor 2022-08-24 15:20:43 -07:00
Benjamin Fry
ab0094a4ff update recursor to use clap 2022-08-24 15:20:43 -07:00
Benjamin Fry
5b929d71d7 declare initial recursive lookup 2022-08-24 15:20:43 -07:00