From: Juliusz Chroboczek <jch@irif.fr>
To: "Michael Ströder" <michael@stroeder.com>
Cc: galene@lists.galene.org
Subject: [Galene] Re: log message: failed to resolve stun host
Date: Fri, 08 Jan 2021 19:36:39 +0100 [thread overview]
Message-ID: <8735zb6zt4.wl-jch@irif.fr> (raw)
In-Reply-To: <aa855f89-1a77-91eb-e4ac-4775e844315a@stroeder.com>
> failed to resolve stun host: turn.example.com:443: address
> turn.example.com: no suitable address found
Interesting. Could you please recompile with
CGO_ENABLED=1 go build -ldflags='-s -w'
and see if the issue goes away?
Explanation: the go stdlib has two DNS resolvers, one written in Go and
one that calls the one libc. If you compile with CGO_ENABLED=0 (which is
the default when cross-compiling), you get a static binary, and the Go
resolver is used unconditionally. If you compile with CGO_ENABLED=1, then
the binary is linked against libc, and the native resolver is called.
-- Juliusz
next prev parent reply other threads:[~2021-01-08 18:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-08 18:22 [Galene] " Michael Ströder
2021-01-08 18:36 ` Juliusz Chroboczek [this message]
2021-01-08 21:05 ` [Galene] " Michael Ströder
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.galene.org/postorius/lists/galene.lists.galene.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8735zb6zt4.wl-jch@irif.fr \
--to=jch@irif.fr \
--cc=galene@lists.galene.org \
--cc=michael@stroeder.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox