removed dns_resolve