Checking if the DNS query returned a valid IP when saving a Machine