More stuff about linux and setting proper domain name

John Nichel john at kegworks.com
Wed Jul 6 09:42:05 EDT 2005


hawkwynd wrote:
> Forgive me for my ignorance, but I'm wondering what the proper way is to 
> name my machine so I am not getting the following mesages in my log:
> 
>> Jul  4 05:51:47 Cavetroll sendmail[4470]: My unqualified host name 
>> (cavetroll) unknown; sleeping for retry
>> Jul  4 05:52:47 Cavetroll sendmail[4470]: unable to qualify my own 
>> domain name (cavetroll) -- using short name
> 
> 
> 
> I have this machine on my home network, with a small lan of windows 
> machines, connected to a Linksys router/firewall. How do I properly set 
> the host name so it knows who itself is?

Put it in /etc/hosts.  You should have a line like this...

127.0.0.1	localhost.localdomain   localhost

So just tack it onto the end of that line....

127.0.0.1	localhost.localdomain   localhost cavetroll

-- 
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john at kegworks.com



More information about the nflug mailing list