Forward and reverse lookups use the resolver library which is configured through /etc/nsswitch.conf
As long as files is listed before dns then you should be good:

$ grep ^hosts: /etc/nsswitch.conf
hosts:      files dns myhostname

Regards
Angus


From: Dominik Vogt via FreeIPA-users <freeipa-users@lists.fedorahosted.org>
Sent: 30 December 2020 16:36
To: FreeIPA users list <freeipa-users@lists.fedorahosted.org>
Cc: Dominik Vogt <dominik.vogt@gmx.de>
Subject: [Freeipa-users] Re: Helpo with DNS setup?
 
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@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.

Ciao

Dominik ^_^  ^_^

--

Dominik Vogt
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.fedoraproject.org%2Fen-US%2Fproject%2Fcode-of-conduct%2F&amp;data=04%7C01%7C%7C8389825b26d747b31bb208d8acd8bbaa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637449394142921106%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=uO56SCFQNUHfBBfc%2FRvFnzu9BPkp01j2UhqxDo%2BTsk0%3D&amp;reserved=0
List Guidelines: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffedoraproject.org%2Fwiki%2FMailing_list_guidelines&amp;data=04%7C01%7C%7C8389825b26d747b31bb208d8acd8bbaa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637449394142921106%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=w7fPZWzl7%2Bmn1T5gxrgv%2BC8SvPuz3XpuaAQ9dBr9RNY%3D&amp;reserved=0
List Archives: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.fedorahosted.org%2Farchives%2Flist%2Ffreeipa-users%40lists.fedorahosted.org&amp;data=04%7C01%7C%7C8389825b26d747b31bb208d8acd8bbaa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637449394142921106%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=kN8XTgQbJBUXfcoDRi3YoYaMWuFgQExDL3rxfiBS%2F%2B8%3D&amp;reserved=0