Skip to content

Need an option for CGO enablement #7

@jensenbox

Description

@jensenbox

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions