[GH-ISSUE #1870] Configuration of bind interface for resolver #800

Closed
opened 2026-03-16 00:18:00 +03:00 by kerem · 1 comment
Owner

Originally created by @hottea773 on GitHub (Jan 5, 2023).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1870

I'd like to be able to set the interface used by the resolver. This is a similar concept to https://github.com/bluejekyll/trust-dns/pull/1586, but I want to be able to set the interface. This is desired because when working with VRFs, one cannot bind to an address without first being on the correct interface.

Ideally this would be resolved by https://github.com/bluejekyll/trust-dns/issues/1863 (so that I could use https://docs.rs/socket2/latest/socket2/struct.Socket.html#method.bind_device and create a socket from there), but could also be resolved by a similar approach to https://github.com/bluejekyll/trust-dns/pull/1586.

Feel free to delete this Issue if you think that the lesser approach is not something you'd like to consider and it can just be rolled into the pass in a socket issue.

Originally created by @hottea773 on GitHub (Jan 5, 2023). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1870 I'd like to be able to set the interface used by the resolver. This is a similar concept to https://github.com/bluejekyll/trust-dns/pull/1586, but I want to be able to set the interface. This is desired because when working with VRFs, one cannot bind to an address without first being on the correct interface. Ideally this would be resolved by https://github.com/bluejekyll/trust-dns/issues/1863 (so that I could use https://docs.rs/socket2/latest/socket2/struct.Socket.html#method.bind_device and create a socket from there), but could also be resolved by a similar approach to https://github.com/bluejekyll/trust-dns/pull/1586. Feel free to delete this Issue if you think that the lesser approach is not something you'd like to consider and it can just be rolled into the pass in a socket issue.
kerem closed this issue 2026-03-16 00:18:05 +03:00
Author
Owner

@hottea773 commented on GitHub (Apr 26, 2023):

Closing as https://github.com/bluejekyll/trust-dns/pull/1876 resolves this

<!-- gh-comment-id:1523113487 --> @hottea773 commented on GitHub (Apr 26, 2023): Closing as https://github.com/bluejekyll/trust-dns/pull/1876 resolves this
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#800
No description provided.