fixed get_pub_dns