add 'dns_lookup' method