Support dialing hostnames #4

Closed
opened 2023-08-28 14:01:09 +00:00 by fyrchik · 1 comment
Owner

Currently only IPs are supported.

This case is tricky: Go does a little magic when a hostname resolves to multiple IPs. Let's see what we can support here.
Safe (albeit slower) scenario: resolve hostname to pick local addr, then pass the same hostname to net.Dial.

Currently only IPs are supported. This case is tricky: Go does a little magic when a hostname resolves to multiple IPs. Let's see what we can support here. Safe (albeit slower) scenario: resolve hostname to pick local addr, then pass the same hostname to `net.Dial`.
Author
Owner

Don't forget about the case when hostname resolves to both IPv4 and IPv6

Don't forget about the case when hostname resolves to both IPv4 and IPv6
fyrchik added the
bug
enhancement
labels 2023-08-28 14:10:58 +00:00
dstepanov-yadro self-assigned this 2023-10-23 06:49:32 +00:00
fyrchik referenced this issue from a commit 2023-10-30 08:47:07 +00:00
Sign in to join this conversation.
No description provided.