Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
CGO_ENABLED=0 dial tcp: lookup example.com on 18.104.22.168:53: no such host #40686
This error happens when the binary compiled with CGO_ENABLED=0 for darwin platform.
What version of Go are you using (
I can't reproduce this problem using this program:
It succeeds with and without CGO_ENABLED=0. Do other host names resolve? Is the problem specific to 22.214.171.124?