> On 23 Feb 2021, at 12.11, Peng Yu <[email protected]> wrote:
>
> I tried 1.16.
>
> $ go version
> go version go1.16 darwin/amd64
>
> The problem still exists. When I change mymachine.local to
> mymachine_local, the problem is gone. So somehow, this is related to
> host resolution? It might try to DNS lookup the hostname, when it can
> not find it via DNS then it look up in /etc/hosts?
I see that you run macOS. In the macOS, the local TLD is resolved using
multicast DNS. You can try search for "macos local TLD".
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/B013250D-8C94-47F4-912A-A42F32E6DC61%40gmail.com.