Flent-users discussion archives
 help / color / mirror / Atom feed
From: Pete Heist <notifications@github.com>
To: tohojo/flent <flent@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [Flent-users] Re: [tohojo/flent] -6 Option ignored for hosts with IPv4 and IPv6 address (#241)
Date: Fri, 01 Oct 2021 06:01:11 -0700	[thread overview]
Message-ID: <tohojo/flent/issues/241/932205848@github.com> (raw)
In-Reply-To: <tohojo/flent/issues/241@github.com>

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

I never noticed this, actually. The standard net.Dial(), for "historical reasons", just prefers IPv4 instead of relying on the local resolver. This prompted a "Wow, okay" from B. Fitzpatrick. (https://github.com/golang/go/issues/20911).

It looks like one can get around that by using the Lookup* methods first, but that is a hassle that will require some experimentation to make sure the behavior is right, e.g. with and without cgo and for unspecified listener addresses etc, for something that should ideally "just work".

Anyway, thanks for working around that. :/

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/241#issuecomment-932205848

[-- Attachment #2: Type: text/html, Size: 2323 bytes --]

      parent reply	other threads:[~2021-10-01 13:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 14:09 [Flent-users] " j-breyer
2021-09-30 14:27 ` [Flent-users] " Toke Høiland-Jørgensen
2021-09-30 15:15 ` Pete Heist
2021-10-01  9:07 ` j-breyer
2021-10-01 12:06 ` Toke Høiland-Jørgensen
2021-10-01 12:19 ` Toke Høiland-Jørgensen
2021-10-01 13:01 ` Pete Heist [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.flent.org/postorius/lists/flent-users.flent.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tohojo/flent/issues/241/932205848@github.com \
    --to=notifications@github.com \
    --cc=flent@noreply.github.com \
    --cc=reply+AHVNJP2BEG3DAQ7AYXXHZOV7MLTZPEVBNHHDYVLITY@reply.github.com \
    --cc=subscribed@noreply.github.com \
    --subject='[Flent-users] Re: [tohojo/flent] -6 Option ignored for hosts with IPv4 and IPv6 address (#241)' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox