Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 430086

Summary: avoid the /etc/hosts dependency. instead to IP reverse lookup ?
Product: [Retired] freeIPA Reporter: Chandrasekar Kannan <ckannan>
Component: ipa-serverAssignee: Simo Sorce <ssorce>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: high    
Version: 1.0CC: benl, mgregg, rcritten, ssorce, yzhang
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freeipa-2.0.0-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-27 07:14:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 246164, 429034    

Description Chandrasekar Kannan 2008-01-24 14:18:30 UTC
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.

Comment 3 Simo Sorce 2008-02-05 16:15:08 UTC
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.

Comment 4 Simo Sorce 2008-02-13 18:32:59 UTC
Add back a check for /etc/hosts to be correct

Comment 5 Yi Zhang 2008-04-07 17:22:10 UTC
qa verified, bug closed
build used: 4-7-2008 daily build