News for hackers. Stuff that matters.
Re:Go and Assembly by stock_toaster on Thursday February 07, 2013 @01:09PM (#5183581)
I believe "net" does so for native dns lookups. You can disable that by building go with 'CGO_ENABLED=0', if desired.
Re:Go and Assembly by 4ad on Friday February 08, 2013 @06:31PM (#5190781)
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.