Bug 430086 - avoid the /etc/hosts dependency. instead to IP reverse lookup ?
Summary: avoid the /etc/hosts dependency. instead to IP reverse lookup ?
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-server
Version: 1.0
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Simo Sorce
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: freeipa10 429034
TreeView+ depends on / blocked
 
Reported: 2008-01-24 14:18 UTC by Chandrasekar Kannan
Modified: 2012-03-27 07:14 UTC (History)
5 users (show)

Fixed In Version: freeipa-2.0.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-27 07:14:07 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.