forked from freeipa/ansible-freeipa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
infra/image system-services: Fix DNS forwarder
The DNS forwarder is set while deploying the IPA server. This forwarder might not be correct later on. The old /etc/resolv.conf is copied to /etc/resolv.conf.fixnet by the fixnet service and later on the fixipaip service is trying to get the nameserver from the copied file. If the retrieval failed of if the namesever is 127.0.0.1, then the nameserver will be set to 8.8.8.8. After fixing the IP addresses for the forward and reverse zone, also the forwarder is set for the dnsserver "${HOSTNAME}".
- Loading branch information
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
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
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