[PR #1902] [MERGED] example: add example for custom RuntimeProvider #2683

Closed
opened 2026-03-16 11:02:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1902
Author: @XOR-op
Created: 3/6/2023
Status: Merged
Merged: 3/17/2023
Merged by: @bluejekyll

Base: mainHead: provider-example


📝 Commits (3)

  • 9c20b64 example: add example for custom RuntimeProvider
  • ee54a2a add entry to Makefile.toml
  • 79e0d57 add missing dependency to Makefile.toml

📊 Changes

2 files changed (+112 additions, -1 deletions)

View changed files

📝 crates/resolver/Makefile.toml (+5 -1)
crates/resolver/examples/custom_provider.rs (+107 -0)

📄 Description

This commit contains a new example on how to implement RuntimeProvider to customize the underlying connections, after API change #1876 was merged.

The example is also requested by #1335.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/1902 **Author:** [@XOR-op](https://github.com/XOR-op) **Created:** 3/6/2023 **Status:** ✅ Merged **Merged:** 3/17/2023 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `main` ← **Head:** `provider-example` --- ### 📝 Commits (3) - [`9c20b64`](https://github.com/hickory-dns/hickory-dns/commit/9c20b641ba19ee93cd34b38f7620ee8c501d7ab4) example: add example for custom RuntimeProvider - [`ee54a2a`](https://github.com/hickory-dns/hickory-dns/commit/ee54a2a9502ed28e3b2d657ecae4e64e002f9139) add entry to Makefile.toml - [`79e0d57`](https://github.com/hickory-dns/hickory-dns/commit/79e0d5789dcec2fdda2ed343ba43e6a22d0fb5bd) add missing dependency to Makefile.toml ### 📊 Changes **2 files changed** (+112 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/resolver/Makefile.toml` (+5 -1) ➕ `crates/resolver/examples/custom_provider.rs` (+107 -0) </details> ### 📄 Description This commit contains a new example on how to implement RuntimeProvider to customize the underlying connections, after API change #1876 was merged. The example is also requested by #1335. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:02:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#2683
No description provided.