use adns to resolve hosts