free-ipa install dns error

Issues related to applications and software problems
droidus
Posts: 8
Joined: 2018/10/14 13:23:12

free-ipa install dns error

Post by droidus » 2018/10/14 13:30:17

Upon installation of free-ip, I noticed this error:

Code: Select all

Could not update DNS SSHFP records.
SSSD enabled
Configured /etc/openldap/ldap.conf
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Configuring user.com as NIS domain.
Client configuration complete.
The ipa-client-install command was successful

ipa         : ERROR    unable to resolve host name free-ipa.user.com. to IP address, ipa-ca DNS record will be incomplete
ipa         : ERROR    unable to resolve host name free-ipa.user.com. to IP address, ipa-ca DNS record will be incomplete
Please add records in this file to your DNS system: /tmp/ipa.system.records.ANNQ_W.db
==============================================================================
Setup complete
When I browse to the IP, it redirects me to https://free-ipa.user.com/ipa/ui, but it tells me that the IP address could not be found. How do I resolve this?

User avatar
TrevorH
Forum Moderator
Posts: 23884
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: free-ipa install dns error

Post by TrevorH » 2018/10/14 13:45:14

I've never touched freeipa but that has the sound of a domain name that you're meant to specify/override.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

droidus
Posts: 8
Joined: 2018/10/14 13:23:12

Re: free-ipa install dns error

Post by droidus » 2018/10/14 14:05:22

Yes, it does sound that way. I am just not sure what the format is suppose to be.

hunter86_bg
Posts: 1423
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: free-ipa install dns error

Post by hunter86_bg » 2018/10/15 14:48:18

Which version are you using?
As per BZ1351276 that should be long resolved via RHBA-2016:2404 .
Of course, a regression is also possible.

droidus
Posts: 8
Joined: 2018/10/14 13:23:12

Re: free-ipa install dns error

Post by droidus » 2018/10/16 23:56:20

Version: 4.5.4 API Version: 2.228.

hunter86_bg
Posts: 1423
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: free-ipa install dns error

Post by hunter86_bg » 2018/10/17 11:23:06

Latest version should be 4.5.4-10.el7_5.4.4
Which 4.5.4 do you have , as I currently don't have an installed FreeIPA to check the API version ?

droidus
Posts: 8
Joined: 2018/10/14 13:23:12

Re: free-ipa install dns error

Post by droidus » 2018/10/30 00:22:27

How do I find that out?

Edit:
I also have this in my hosts file:

Code: Select all

192.168.2.5 free-ipa.user.com free-ipa
free-ipa.user.com A 192.168.2.5

hunter86_bg
Posts: 1423
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: free-ipa install dns error

Post by hunter86_bg » 2018/10/31 04:49:11

The second line is not a valid '/etc/hosts' entry.
Does this resolve properly:

Code: Select all

host free-ipa.user.com

droidus
Posts: 8
Joined: 2018/10/14 13:23:12

Re: free-ipa install dns error

Post by droidus » 2018/11/02 19:33:16

No:

Code: Select all

Host free-ipa.user.com not found: 3(NXDOMAIN)

hunter86_bg
Posts: 1423
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: free-ipa install dns error

Post by hunter86_bg » 2018/11/03 20:35:42

Check your /etc/nsswitch.conf.
Here is the output of mine (no LDAP/ID management/AD integration):

Code: Select all

root@Desktop ~]# grep ^hosts /etc/nsswitch.conf
hosts:      files dns myhostname
What is yours containing ?

Post Reply