Skip to content

chore(dns): update hickory-resolver from 0.25 to 0.26#4544

Draft
cratelyn wants to merge 2 commits into
mainfrom
kate/update-hickory-to-0.26
Draft

chore(dns): update hickory-resolver from 0.25 to 0.26#4544
cratelyn wants to merge 2 commits into
mainfrom
kate/update-hickory-to-0.26

Conversation

@cratelyn
Copy link
Copy Markdown
Member

  • chore: bump hickory-resolver from 0.25 to 0.26
  • chore(dns): address breaking changes

Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn cratelyn self-assigned this May 29, 2026
@cratelyn cratelyn force-pushed the kate/update-hickory-to-0.26 branch from 4d607ae to f016653 Compare May 29, 2026 17:40
Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn cratelyn force-pushed the kate/update-hickory-to-0.26 branch from f016653 to 54746e3 Compare May 29, 2026 17:58
Comment thread linkerd/dns/src/lib.rs
Comment on lines 157 to 169
let srv = self.dns.srv_lookup(name.as_str()).await?;

let valid_until = Instant::from_std(srv.as_lookup().valid_until());
let valid_until = Instant::from_std(srv.valid_until());
let addrs = srv
.into_iter()
.answers()
.iter()
.map(|record| &record.data)
.filter_map(|rdata| match rdata {
hickory_resolver::proto::rr::RData::SRV(srv) => Some(srv),
_ => None,
})
.map(Self::srv_to_socket_addr)
.collect::<Result<_, InvalidSrv>>()?;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i've asked in hickory-dns/hickory-dns#3632 (comment) to confirm if this is equivalent. this is the part of this upgrade that i'm most nervous about being equivalent.

@cratelyn cratelyn changed the title kate/update hickory to 0.26 chore(dns): update hickory-resolver from 0.25 to 0.26 May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant