Fix fetching name servers to work whether or not we have res_ninit