replace net/dns with resolv