New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add systemd-resolved support #5125
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tiran
commented
Sep 22, 2020
a7bf795
to
8f034c7
Compare
|
I have successfully tested the PR on our test infrastructure: dig uses systemd-resolved stub resolver and gives correct answer: |
|
detect_resolve1_resolv_conf() detects if systemd-resolved is enabled and manages /etc/resolv.conf. get_resolve1_nameservers() gets upstream DNS servers from systemd-resolved's D-Bus interface. get_dnspython_nameservers() gets upstream DNS servers from /etc/resolv.conf via dns.python. get_nameservers() gets a list of unique, non-loopback DNS server IP addresses. Also fixes setup.py to include D-Bus for ipalib instead of ipapython. See: https://pagure.io/freeipa/issue/8275 Signed-off-by: Christian Heimes <cheimes@redhat.com>
zzz-ipa.conf now enables NetworkManager's systemd-resolved plugin when systemd-resolved is detected. See: https://pagure.io/freeipa/issue/8275 Signed-off-by: Christian Heimes <cheimes@redhat.com>
Auto-forwarders and manual configuration now use the new API to get a list of DNS servers. Manual installer refuses loopback, too. See: https://pagure.io/freeipa/issue/8275 Signed-off-by: Christian Heimes <cheimes@redhat.com>
IPA installer now instructs systemd-resolved to use IPA's BIND DNS server as primary DNS server. Fixes: https://pagure.io/freeipa/issue/8275 Signed-off-by: Christian Heimes <cheimes@redhat.com>
Create systemd-resolved drop-in and restart the service when the drop-in config file is missing and /etc/resolv.conf points to stub resolver config file. Signed-off-by: Christian Heimes <cheimes@redhat.com>
8f034c7
to
61ec5de
Compare
|
LGTM. Let's merge this part and see what needs to be done with DNSSEC. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ack
Pull Request approved, can be merged
ipa-4-8
Mark for backport to ipa 4.8
prioritized
Pull Request has higher priority for PR-CI
pushed
Pull Request has already been pushed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fedora 33 switched to systemd-resolved
ipa-server-upgradeSee: https://pagure.io/freeipa/issue/8275