[CentOS] /etc/hosts - hostname alias for 127.0.0.1

m.roth at 5-cent.us m.roth at 5-cent.us
Mon Mar 7 20:23:02 UTC 2011


Sean Carolan wrote:
>> (Make sure you pick .dummy so as not to interfere with any other DNS.)
>>
>> In theory you could leave off .dummy, but then you risk hostname being
>> completed with the search domain in resolv.conf, which creates the
>> problems already mentioned with putting hostname.domain.com in
>> /etc/hosts.  (I have not tested this at all!)
>
> I will probably just leave this decision to the application
> architects, with the recommendation that we should simply use DNS as
> intended...

I wonder if what they need is another IP being asserted on your NIC....

          mark




More information about the CentOS mailing list