changed get_dns