fixed dns problem - it would only accept ips.