Title: #5075: [Backport][ipa-4-8] DNSResolver: Make use of `resolve_address` of a current
resolver instead of the global one
This PR was opened manually because PR #5070 was pushed to master and backport to
`ipa-4-8` is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5075/head:pr5075
git checkout pr5075