Skip to content

feat(dns): support DoQ & DoH3#65

Merged
Berrysoft merged 7 commits into
compio-rs:masterfrom
Berrysoft:dev/doh3
May 12, 2026
Merged

feat(dns): support DoQ & DoH3#65
Berrysoft merged 7 commits into
compio-rs:masterfrom
Berrysoft:dev/doh3

Conversation

@Berrysoft
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends cyper-hickory’s Hickory-based DNS connection provider to support DNS-over-QUIC (DoQ) and DNS-over-HTTP/3 (DoH3), adding the necessary transport implementations and feature flags.

Changes:

  • Added new QUIC (DoQ) transport (src/quic.rs) and HTTP/3 (DoH3) transport (src/h3.rs) behind quic / h3 features.
  • Wired ProtocolConfig::{Quic,H3} into CompioConnectionProvider and shared the DoH MIME constant via lib.rs.
  • Updated crate features/dependencies and added integration tests for QUIC/H3 resolution.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
cyper-hickory/tests/resolve.rs Adds QUIC and H3 resolver tests and server spawn support for those protocols.
cyper-hickory/src/quic.rs Introduces a DoQ client stream implementation over compio::quic.
cyper-hickory/src/h3.rs Introduces a DoH3 request sender over compio’s HTTP/3 client support.
cyper-hickory/src/lib.rs Adds module wiring, ProtocolConfig matching for QUIC/H3, and a shared DoH MIME constant plus a QUIC connect helper.
cyper-hickory/src/https.rs Uses the shared DoH MIME constant from lib.rs.
cyper-hickory/Cargo.toml Adds quic/h3 feature flags and required optional deps.
cyper-axum/Cargo.toml Switches compio-log to workspace dependency.
Cargo.toml Adds compio-log to workspace dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cyper-hickory/src/quic.rs
@Berrysoft Berrysoft merged commit 4c29a26 into compio-rs:master May 12, 2026
33 checks passed
@Berrysoft Berrysoft deleted the dev/doh3 branch May 12, 2026 17:45
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.

2 participants