Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need an option for CGO enablement #7

Open
jensenbox opened this issue Feb 8, 2019 · 0 comments
Open

Need an option for CGO enablement #7

jensenbox opened this issue Feb 8, 2019 · 0 comments

Comments

@jensenbox
Copy link

Please refer to https://engineering.grab.com/dns-resolution-in-go-and-cgo

We are unable to use the currently compiled version as it does not incorporate CGO enabled DNS lookups.

This causes things that would normally resolve to not resolve.

Such as the following:

Post https://testbed03/k8s/clusters/c-mrrw5/api/v1/namespaces/cjensen-dev/secrets: dial tcp: lookup testbed03 on 10.84.63.163:53: no such host

Where using the OS supplied resolver:

ping testbed03
PING testbed03.inf.scribd.com (10.177.148.176): 56 data bytes
64 bytes from 10.177.148.176: icmp_seq=0 ttl=55 time=56.533 ms
64 bytes from 10.177.148.176: icmp_seq=1 ttl=55 time=58.334 ms
64 bytes from 10.177.148.176: icmp_seq=2 ttl=55 time=58.793 ms

Perhaps compile with CGO for the MacOS version as that appears to be the only platform affected by this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant