Added support for multiple ips in dns