29.3. Configuring client and replica systems to use DoT exclusively
To enforce DoT communication, you must configure clients and replica systems to use a DoT-capable resolver. You must update the DNS settings in NetworkManager to enable eDNS communication. This configuration is only required when the --dns-policy is set to enforced.
Prerequisites
- Review the steps outlined in Preparing the system for IdM client installation and Preparing the system for an IdM replica installation.
Ensure the following packages are installed:
-
ipa-server-encrypted-dns -
ipa-client-encrypted-dns
-
Procedure
Copy the IdM server’s DoT certificate to the client and replica system.
$ scp /etc/pki/tls/certs/bind_dot.crt <username>@<ip>:/etc/pki/ca-trust/source/anchors/Update the system-wide trust store configuration:
# update-ca-trust extractOn the client and replica system, install the
dnsconfdpackage:# dnf install dnsconfdGenerate the default configuration files for DoT on your system:
dnsconfd config installEnable the
dnsconfdservice:# systemctl enable --now dnsconfdReload NetworkManager to apply the configuration:
# nmcli g reloadConfigure the system’s DNS settings in NetworkManager.
# nmcli device modify <device_name> ipv4.dns dns+tls://<idm_server_ip> Connection successfully reapplied to device '<device_name>'.