Use BIND's resolver in libc.This also syncs some code from FreeBSD bringing along bug fixes and morethread-safe routines.Obtained-from: FreeBSD