From 6dce438b7a192bf30310a0334bc302c590fa2637 Mon Sep 17 00:00:00 2001 From: Petr Spacek Date: Jun 29 2016 12:45:41 +0000 Subject: client-install: do not fail if DNS times out during DNS update generation https://fedorahosted.org/freeipa/ticket/5962 Reviewed-By: Martin Basti --- diff --git a/client/ipa-client-install b/client/ipa-client-install index 8ba6f9c..b900eca 100755 --- a/client/ipa-client-install +++ b/client/ipa-client-install @@ -1764,6 +1764,10 @@ def client_dns(server, hostname, options): root_logger.warning("Hostname (%s) does not have A/AAAA record.", hostname) dns_ok = False + except errors.DNSResolverError as ex: + root_logger.warning("DNS resolution for hostname %s failed: %s", + hostname, ex) + dns_ok = False if (options.dns_updates or options.all_ip_addresses or options.ip_addresses or not dns_ok):