Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
stock_toaster
on Feb 7, 2013
|
parent
|
context
|
favorite
| on:
Go and Assembly
I believe "net" does so for native dns lookups. You can disable that by building go with 'CGO_ENABLED=0', if desired.
4ad
on Feb 8, 2013
[–]
That is correct. It uses libc for resolving names because systems might be configured to use NIS or LDAP before DNS. With cgo disabled it defaults to using its own DNS resolver and resolv.conf.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: