[PR #1586] [MERGED] Configuration of bind address for resolver. #2436

Closed
opened 2026-03-16 08:53:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1586
Author: @surban
Created: 11/16/2021
Status: Merged
Merged: 1/4/2022
Merged by: @bluejekyll

Base: mainHead: bind


📝 Commits (1)

  • 4ecdf94 Configuration of bind address for resolver.

📊 Changes

34 files changed (+526 additions, -98 deletions)

View changed files

📝 Cargo.lock (+40 -2)
📝 crates/async-std-resolver/Cargo.toml (+2 -1)
📝 crates/async-std-resolver/src/net.rs (+24 -2)
📝 crates/client/src/https_client_connection.rs (+27 -1)
📝 crates/client/src/tcp/tcp_client_connection.rs (+23 -1)
📝 crates/client/src/udp/udp_client_connection.rs (+23 -1)
📝 crates/proto/src/https/https_client_stream.rs (+14 -2)
📝 crates/proto/src/native_tls/tls_client_stream.rs (+5 -0)
📝 crates/proto/src/native_tls/tls_stream.rs (+8 -1)
📝 crates/proto/src/openssl/tls_client_stream.rs (+6 -0)
📝 crates/proto/src/openssl/tls_stream.rs (+17 -7)
📝 crates/proto/src/rustls/mod.rs (+4 -2)
📝 crates/proto/src/rustls/tls_client_stream.rs (+24 -2)
📝 crates/proto/src/rustls/tls_stream.rs (+33 -1)
📝 crates/proto/src/tcp/mod.rs (+19 -1)
📝 crates/proto/src/tcp/tcp_client_stream.rs (+25 -3)
📝 crates/proto/src/tcp/tcp_stream.rs (+32 -3)
📝 crates/proto/src/tests/udp.rs (+4 -2)
📝 crates/proto/src/udp/udp_client_stream.rs (+51 -9)
📝 crates/proto/src/udp/udp_stream.rs (+56 -38)

...and 14 more files

📄 Description

Allows configuration of the local address that is used by the resolver.
This is useful if the system has multiple active network connections
and it is desirable to specify which interface is used for name
resolution.

Fixes: #1005


🔄 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/1586 **Author:** [@surban](https://github.com/surban) **Created:** 11/16/2021 **Status:** ✅ Merged **Merged:** 1/4/2022 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `main` ← **Head:** `bind` --- ### 📝 Commits (1) - [`4ecdf94`](https://github.com/hickory-dns/hickory-dns/commit/4ecdf945b3b496bbbcbb011a997068323ccd2e22) Configuration of bind address for resolver. ### 📊 Changes **34 files changed** (+526 additions, -98 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+40 -2) 📝 `crates/async-std-resolver/Cargo.toml` (+2 -1) 📝 `crates/async-std-resolver/src/net.rs` (+24 -2) 📝 `crates/client/src/https_client_connection.rs` (+27 -1) 📝 `crates/client/src/tcp/tcp_client_connection.rs` (+23 -1) 📝 `crates/client/src/udp/udp_client_connection.rs` (+23 -1) 📝 `crates/proto/src/https/https_client_stream.rs` (+14 -2) 📝 `crates/proto/src/native_tls/tls_client_stream.rs` (+5 -0) 📝 `crates/proto/src/native_tls/tls_stream.rs` (+8 -1) 📝 `crates/proto/src/openssl/tls_client_stream.rs` (+6 -0) 📝 `crates/proto/src/openssl/tls_stream.rs` (+17 -7) 📝 `crates/proto/src/rustls/mod.rs` (+4 -2) 📝 `crates/proto/src/rustls/tls_client_stream.rs` (+24 -2) 📝 `crates/proto/src/rustls/tls_stream.rs` (+33 -1) 📝 `crates/proto/src/tcp/mod.rs` (+19 -1) 📝 `crates/proto/src/tcp/tcp_client_stream.rs` (+25 -3) 📝 `crates/proto/src/tcp/tcp_stream.rs` (+32 -3) 📝 `crates/proto/src/tests/udp.rs` (+4 -2) 📝 `crates/proto/src/udp/udp_client_stream.rs` (+51 -9) 📝 `crates/proto/src/udp/udp_stream.rs` (+56 -38) _...and 14 more files_ </details> ### 📄 Description Allows configuration of the local address that is used by the resolver. This is useful if the system has multiple active network connections and it is desirable to specify which interface is used for name resolution. Fixes: #1005 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 08:53:50 +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#2436
No description provided.