implement cloud DNS status lookup more efficiently