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.