added helper functions all_ips and all_dns