[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: localhost -> /etc/hosts?



> On 2004-01-11 14:57:07 +1100, Russell Shaw wrote:
>> In /etc/hosts:
>>   127.0.0.1     localhost
>>   192.168.0.1   mypc
>                   ^^^^
> According to what has been said somewhere else, this is incorrect.
> You need a FQDN here.

I don't think it matters. If you have DNS you shouldn't have the machines IP
mapping in the hosts file at all. Only localhost and convienence mappings for
other hosts. If you /don't/ have DNS then you probably just have one or two PCs in
your house in which case you should put whatever you need in there to just make it
work.

Mike

-- 
A program should be written to  model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the  potential for it  to be applied  to tasks that are
conceptually similar and, more  important, to tasks that have not
yet been conceived.



Reply to: