cms 54 asked:
Hi having issue with adding nfs services to IPA server (after login to the IPA server and kinit admin ) when i execute below line
[root@ipa ~]# ipa service-add nfs/server1.example.com ipa: ERROR: Host does not have corresponding DNS A/AAAA record
getting above error .. ipa: ERROR: Host does not have corresponding DNS A/AAAA record
Note : I have config the 3 servers correctly and installed FreeIPA in IPA server
my IPA server config
[root@ipa ~]# vim /etc/resolv.conf # Generated by NetworkManager search example.com nameserver 126.96.36.199
also config server1 correctly
[root@ipa ~]# ipa host-show Host name: server1 Host name: server1.example.com Principal name: host/server1.example.com@EXAMPLE.COM Password: False Keytab: False Managed by: server1.example.com
please help me need practice for Red hat Exam nfs-secure
Hosts need to have their IPv6 and IPv4 addresses registered in the domain’s DNS before you can do much of anything with them.
When you join the NFS server to the domain, ensure that you enable automatic DNS updates. This is not currently the default behavior (though it really should be). For example:
If you’ve already joined the server to the domain, then you’ll need to reconfigure it to update DNS. Edit
/etc/sssd/sssd.conf and enable dynamic DNS updates. You may also need to specify the NIC for which DNS updates will be sent. For example:
[domain/example.com] dyndns_update = True dyndns_iface = enp2s1
Once reconfigured, restart sssd with
systemctl restart sssd or restart the computer.
You could also manually insert DNS records, but this very quickly becomes one of the maintenance nightmares that having an IPA domain solves.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.