According to Bryan Scaringe: While burning my CPU.
> 
> 
> I have heard quite a bit on this list about not mapping
> HOSTNAME to 127.0.0.1.
> 
> So the question is: how else could one map a name to their
> machine, and use that as an address?
> 
> For example: my machine is stand-alone.
> I want to name it, for example, "bacon".
> Actually, "bacon.skillet.net".
> 
> So what is the proper way to write a /etc/hosts file
> for this machine?

127.0.0.1       localhost

Your /etc/HOSTNAME file should contian your hostname.

If you have redhat edit /etc/sysconfig/network and enter
HOSTNAME=bacon.skillet.net

Slackware does it in /etc/rc.M if you have no defined /etc/HOSTNAME then
slackware will call you "darkstar.frop.org"

The setup utilities in both distributions allow you to define your desired
or assigned hostname.

I dont have theses problems as i have a static ip address.

This is the documented way, and there are of course other ways and
opinions.

> 
> TIA,
>   Bryan Scaringe
> 
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to