Mailing List Archive

Support open source code!


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

Re: Hostname questions



Jean-Christian Imbeault wrote:

> >Some do, but that's not really proper. They should get it by
> >calling /bin/hostname or something like calling gethostbyaddr(3)
> >on their own socket.
>
> That's what I've been waiting for someone to say!! So now I know that
> /etc/hosts doesn't need and shouldn't need an entry for my machine.

I think its still a good idea to have an entry in /etc/hosts in case the DNS
servers are inaccessable.

41 53 5A

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links