summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-06-28 13:53:58 +0200
committerMartin Basti <mbasti@redhat.com>2016-06-29 14:19:59 +0200
commit7be50ea7150b36adf9051fc1003dd36f61d68451 (patch)
tree0320353c35fe050b7defbe56069e8c87a240d4a6 /ipapython
parent1802f7a2258c793d11c7a9c2a4786cea42b9b058 (diff)
downloadfreeipa-7be50ea7150b36adf9051fc1003dd36f61d68451.tar.gz
freeipa-7be50ea7150b36adf9051fc1003dd36f61d68451.tar.xz
freeipa-7be50ea7150b36adf9051fc1003dd36f61d68451.zip
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 dc405005f537cf278fd6ddfe6b87060bd13d9a67 https://fedorahosted.org/freeipa/ticket/5962 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/dnsutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/dnsutil.py b/ipapython/dnsutil.py
index 6aa0e0772..aca506120 100644
--- a/ipapython/dnsutil.py
+++ b/ipapython/dnsutil.py
@@ -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
"""