chore(deps): update rust crate hickory-resolver to 0.26#328
Merged
Conversation
| datasource | package | from | to | | ---------- | ---------------- | ------ | ------ | | crate | hickory-resolver | 0.24.4 | 0.26.1 |
Contributor
Author
|
Contributor
|
@dreadnode-renovate-bot rebase! |
**Changed:** - Switched DNS resolver implementation from `TokioAsyncResolver` to `TokioResolver` in the domain probe logic to match hickory-resolver 0.26 API updates - Updated error handling to use new error types (`DnsError`, `NetError`) and methods consistent with hickory 0.26 - Adjusted code to build the resolver with the new builder pattern and runtime provider - Modified feature flags in Cargo.toml for hickory-resolver to use `tokio` instead of `tokio-runtime` in accordance with upstream changes - Updated Cargo.lock to: - Remove deprecated/unused dependencies (enum-as-inner, lru-cache, linked-hash-map) - Add new transitive dependencies (moka, crossbeam-channel, prefix-trie, etc.) - Consolidate and update hickory-resolver, hickory-proto, and hickory-net to 0.26.x - Standardize on `thiserror` 2.x and remove explicit version qualifiers from dependencies - Add new system-configuration dependencies required by hickory-resolver **Removed:** - Removed legacy resolver construction patterns and error kinds no longer present in hickory 0.26 from the DNS SRV probe implementation - Eliminated references to now-removed dependency versions in Cargo.lock (e.g., "thiserror 1.0.69") to align with the updated dependency graph
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #328 +/- ##
==========================================
- Coverage 78.85% 78.85% -0.01%
==========================================
Files 438 438
Lines 125609 125614 +5
==========================================
Hits 99050 99050
- Misses 26559 26564 +5
🚀 New features to boost your workflow:
|
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.24→0.26Release Notes
hickory-dns/hickory-dns (hickory-resolver)
v0.26.1Compare Source
This point release for the 0.26 release series brings in several bug fixes, and no user-facing changes. Two security reports are addressed:
RUSTSEC-2026-0120 and RUSTSEC-2026-0119.
What's Changed
Full Changelog: hickory-dns/hickory-dns@v0.26.0...v0.26.1
v0.26.0: 0.26.0Compare Source
13 months after the release of 0.25.0, we finally have a bigger feature release of Hickory DNS, the suite of DNS libraries and authoritative/recursive name servers written in pure Rust. A lot of work has gone into this release, so we wanted to take a moment to release this before we continue work on deploying the Hickory DNS recursive resolver at Let's Encrypt (and did you see that Hickory is being used in some of Google's Pixel devices?). Because of the ongoing work, we expect that 0.27.0 might happen quite a bit sooner than in 13 months from now.
These release notes describe a number of high-level improvements as well as API changes that are likely to break a larger fraction of our downstream users. Feedback (both on these notes and the release itself) is always welcome in our issue tracker or via our Discord server.
Most of the following notes are broken up by specific components: the server binary and our library crates. However, for this release we've made several changes to the structure of our crates itself:
clientmodule (#3366). No future releases of the hickory-client crate are expected.recursorfeature which must be enabled explicitly. The recursor implementation was already tightly coupled to the resolver internals, so keeping it separate didn't really make sense.Additionally, substantial cross-crate changes have been made to improve our error handling:
hickory-dns (the server binary)
hickory-server (the library API)
Authoritytrait was renamed toZoneHandlerand simplified to better reflect its usage:hickory-resolver
We made many improvements to improve correctness and efficiency of both the recursive resolver and the "stub" resolver. In addition, we want to highlight the following changes:
hickory-net
We made substantial improvements to DNSSEC validation and our handling of potentially spoofing messages.
hickory-proto
Details
For more details, review the detailed release notes for our pre-releases:
and these final PRs merged after beta 4:
Thanks
Finally, we want to thank everyone who contributed to this release: @bryanlarsen, @billf, @hargut, @ibigbug, @xi0, @steffengy, @james7132, @Thomasdezeeuw, @Kriskras99, @mispp, @conradludgate, @nabijaczleweli, @musicinmybrain, @msrd0, @jmwample, @LAGonauta, @tisonkun, @provokateurin, @lemon-sh, @thomas-zahner, @jpds, @lpraneis, @zachsmith1, @jackboykin, @ZnqbuZ, @Jeidnx, @kn0sys, @matheus23, @benesch, @roblabla and of course our maintainers @cpu, @divergentdave, @marcus0x62 and @djc.
v0.25.2: 0.25.2Compare Source
What's Changed
ns_pool_for_zone()by @divergentdave in #2888ResolverBuilder::with_options()method by @cratelyn in #2877tsharkoutput by @divergentdave in #2868TBS::new()by @divergentdave in #2942v0.25.1: 0.25.1Compare Source
This is a small patch release to address errors that prevented publication of version 0.25.0 of some crates.
What's Changed
Full Changelog: hickory-dns/hickory-dns@v0.25.0...v0.25.1
v0.25.0: 0.25.0Compare Source
0.25.0 represents a large release for the Hickory DNS project. Over 14 months since 0.24.0, we've added two new maintainers, divergentdave and marcus0x62, and have addressed many limitations. A team from Ferrous Systems shored up our support for DNSSEC, and we addressed a number of findings from our first security audit.
Breaking changes
This is not an exhaustive list of changes, but here are some of the most impactful breaking changes in this release:
dns-over-rustls,dns-over-native-tls,dns-over-openssl,dns-over-https-rustls,dns-over-https,dns-over-quicanddns-over-h3features have been removed in favor of a set of{tls,https,quic,h3}-{aws-lc-rs,ring}features across our library crates.RuntimeProviderAPI into the proto crate and use it consistently across the project.Namevalues are now rooted by default in many places, and more consistently maintain theirfqdnstatus.ResolverOptstype. SpecificNameServerConfigs should implicitly set up the ALPN protocol appropriate for the DNS protocol.ResolverOptionsfieldsauthentic_dataandshuffle_dns_serverswere removed. The former field didn't do anything; and should be covered by new DNSSEC API.shuffle_dns_serversfunctionality has been subsumed into theserver_ordering_strategyfield.native-certsfeature was replaced with rustls-platform-verifier.tokio-runtimefeature was renamed totokio.serde-configfeature was renamed toserde.Please don't hesitate to file an issue or ask on our Discord server if you have issues upgrading.
Detailed changes since alpha.5
NameServerConfigGroup::from_ips_clearby @silverlyra in #2092hickory_proto::quic::QuicClientStreamClonable by @0xffffharry in #2176example.comby @situ2001 in #2187hickory_proto::h3::H3ClientStreamClonable by @0xffffharry in #2182Resourcedata structure by @japaric in #2231docker network createin parallel by @japaric in #2265DnssecDnsHandle: check RRSIG validity as per RFC4035 by @japaric in #2213startmethod in Resolver by @justahero in #2281DS .fails by @japaric in #2271NS somedomain.com.by @japaric in #2300targetdirectory acrossdocker buildinvocations by @japaric in #2305Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.