Skip to content

chore: update hickory-proto and hickory-resolver to 0.26.0-beta.3#27

Open
Frando wants to merge 1 commit intomainfrom
feat/hickory-update
Open

chore: update hickory-proto and hickory-resolver to 0.26.0-beta.3#27
Frando wants to merge 1 commit intomainfrom
feat/hickory-update

Conversation

@Frando
Copy link
Copy Markdown
Member

@Frando Frando commented Apr 13, 2026

Updates hickory-proto (regular dep) and hickory-resolver (dev dep) from 0.25 to 0.26.0-beta.3. No breaking change for patchbay users since hickory types are internal to dns_server.rs and not part of the public API.

The 0.26 release restructures the Message type: header fields moved to a public metadata struct with direct field access instead of getter/setter methods, Message::new() takes id/type/opcode parameters, and ipv4_lookup was replaced by lookup_ip. The TokioConnectionProvider type was renamed to TokioRuntimeProvider and moved to a different module path.

Adapt to the 0.26 API changes:
- Message fields (id, message_type, etc.) are now accessed through
  the public metadata struct instead of getter/setter methods
- Message::response(id, op_code) replaces Message::new() + set_*
- TokioConnectionProvider replaced by TokioRuntimeProvider
- ipv4_lookup replaced by lookup_ip (returns IpAddr, not Ipv4Addr)
- Resolver::build() now returns Result

No breaking change for patchbay users since hickory types are internal
to dns_server.rs and hickory-resolver is a dev dependency only.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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