freeipa/ipaclient/install
Stanislav Levin 49e643783d dnspython: Add compatibility shim
`dnspython` 2.0.0 has many changes and several deprecations like:

```
> dns.resolver.resolve() has been added, allowing control of whether
search lists are used. dns.resolver.query() is retained for backwards
compatibility, but deprecated. The default for search list behavior can
be set at in the resolver object with the use_search_by_default
parameter. The default is False.

> dns.resolver.resolve_address() has been added, allowing easy
address-to-name lookups.
```

The new class `DNSResolver`:
- provides the compatibility layer
- defaults the previous behavior (the search list configured in the
  system's resolver configuration is used for relative names)
- defaults lifetime to 15sec (determines the number of seconds
  to spend trying to get an answer to the question)

Fixes: https://pagure.io/freeipa/issue/8383
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2020-08-31 09:46:03 +03:00
..
__init__.py ipa-client-install: move client install to module 2016-11-11 12:13:56 +01:00
automount.py install: re-introduce option groups 2017-03-13 10:12:40 +01:00
client.py dnspython: Add compatibility shim 2020-08-31 09:46:03 +03:00
ipa_certupdate.py Don't use the has_files() to know if client/server is configured 2020-08-06 14:11:27 +02:00
ipa_client_automount.py ipa-client-automount: call save_domain() for each change 2020-02-14 09:33:43 +02:00
ipa_client_install.py Drop list of return values to be ignored in AdminTool 2019-06-07 11:24:45 +02:00
ipa_client_samba.py ipa-client-samba: map domain sid of trust domain properly for display 2019-12-13 17:33:33 +02:00
ipa_epn.py IPA-EPN: enhance input validation 2020-08-12 09:02:08 -04:00
ipachangeconf.py Move ipachangeconf from ipaclient.install to ipapython 2019-08-28 22:15:50 -04:00
ipadiscovery.py Make IPADiscovery available in PyPI packages 2019-03-01 11:44:27 +01:00
sssd.py ipaclient: Remove --no-sssd and --no-ac options 2018-08-13 12:23:53 +02:00
timeconf.py Moving prompt for NTP options to install_check 2019-05-22 18:20:22 +02:00