resolv icon indicating copy to clipboard operation
resolv copied to clipboard

Adding query source IP bindhost config params

Open astounding opened this issue 4 years ago • 0 comments

Adding config params :bindhost and :bindhost6 to allow specifying IPv4 and IPv6 (respectively) IPs for outbound query UDP and TCP sockets to bind to when desired on hosts with multiple IP addresses. This is only LIGHTLY tested and has worked for me. I do NOT know if this is the preferred method for controlling the source IP for outbound queries, but it does what I need.

This addresses my question posted here: https://github.com/ruby/resolv/issues/3

astounding avatar Jan 30 '21 20:01 astounding