Red Hat Bugzilla – Bug 430086
avoid the /etc/hosts dependency. instead to IP reverse lookup ?
Last modified: 2012-03-27 03:14:07 EDT
Right now, I'm told we have to have a proper /etc/hosts file setup
for hostname lookup.
Could we avoid this and instead do a reverse IP lookup against
and the machine's current DNS ?
One pre-requisite that I'm hearing for IPA is that we need a static
IP for the ipa server which in most cases mean that the machine
is already hooked up to a DNS proper.
There is no hard dependency on /etc/hosts, as long as you can always resolve
correctly forward and reverse it is ok.
But usually the /etc/hosts file is polluted with the machine name set on the
127.0.0.1 line, and that won't work. Also DNS lookups are slower and may fail if
the DNS is not available, and that's why configuring /etc/hosts is usually a
better bet, but not strictly required.
Add back a check for /etc/hosts to be correct
qa verified, bug closed
build used: 4-7-2008 daily build