allow to iterate through the dns server list in case of network error while dialoging with one server.