On Wed, Dec 30, 2020 at 7:42 AM Dominik Vogt via FreeIPA-users <
freeipa-users(a)lists.fedorahosted.org> wrote:
On Wed, Dec 30, 2020 at 04:20:53PM +0100, François Cami wrote:
> On Wed, Dec 30, 2020 at 2:55 PM Dominik Vogt via FreeIPA-users <
> freeipa-users(a)lists.fedorahosted.org> wrote:
> > we need to install ipa-server on a box running RHEL8, say
> > server.foo.bar.baz, 192.168.123.45. ipa-server-install needs
> > working name resolution for that host, and as there is no other
> > machine installed yet, this server must run named to provide it.
> >
> > Is there some working sample configuration for named (RHEL8 config
> > style) that suffices to install ipa-server (using the --setup-dns
> > option)?
> >
>
> An easier option is probably to use a (temporary) hosts file entry for
this
> machine.
> Then use ipa-server-install ; you should then remote the hosts file
entry.
Does that work? The RHEL8 IdM server installation instructions
claim that forward and reverse lookup of the server have to work.
Yes it does work.
And just to clarify, the nsswitch.conf needs to be set up for this.
# cat /etc/nsswitch.conf | grep 'hosts:'
hosts: files dns myhostname
Note that it says "files" (/etc/hosts) then "dns".
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.3 (Ootpa)
# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
192.168.122.114
ipa.example.com
# getent hosts 192.168.122.114
192.168.122.114
ipa.example.com
Also, I've installed IPA using the "hosts" mechanism before. So It should
"just work".
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
_______________________________________________
FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedoraho...