Use NSS for name->resolution in IPA installer

This fixes scenarios where IPA server is not able to resolve own name
and option --ip-address was not specified by the user.

This partially reverts changes from commit
dc405005f5

https://fedorahosted.org/freeipa/ticket/5962

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Petr Spacek
2016-06-29 14:19:59 +02:00
committed by Martin Basti
parent 1802f7a225
commit 7be50ea715
3 changed files with 43 additions and 6 deletions
+1 -1
View File
@@ -321,7 +321,7 @@ def resolve_rrsets(fqdn, rdtypes):
def resolve_ip_addresses(fqdn):
"""Get IP addresses from DNS A/AAAA records for given host.
"""Get IP addresses from DNS A/AAAA records for given host (using DNS).
:returns:
list of IP addresses as CheckedIPAddress objects
"""