URL:
https://github.com/freeipa/freeipa/pull/5559
Author: wladich
Title: #5559: ipatests: check localhost is actually used for domain name resolution
Action: opened
PR body:
"""
The original test "test_resolvconf" only checked that ip address of
localhost is present in /etc/resolv.conf. This does not guarantee that
it is actually used for name resolution as there can be other nameservers
before the line.
Another issue is this test is not applicable to systems where name
resolution is managed by systemd-resolved.
The test is modified to check that 127.0.0.1 is actually used in DNS query
chain.
Also test is moved to test_dns suite as it is not directly related to
dnssec.
Related to
https://pagure.io/freeipa/issue/7900
Fixes
https://pagure.io/freeipa/issue/8695
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5559/head:pr5559
git checkout pr5559