Interestingly, but off topic, Go has its own DNS resolver that it uses when the getaddrinfo C API isn't available.
The blog at miek.nl says that Go had a DNS library written in Go in the provided samples for a while, then they removed it. It would be interesting to know why.
But yes, it does not appear to be used anywhere now, as all of the dns lookups for each platform seem to end up at cgo calls.