Mailing List Archive

Support open source code!


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

Re: Hostname questions



Tobias Diedrich <ranma@example.com> writes:

>It might be a good thing to add that you should use your
>Fully Qualified Domain Name followed by your short name in /etc/hosts
>because if /etc/host.conf and/or /etc/nsswitch.conf is set to
>look at hosts first and dns later the entry in /etc/hosts
>will be used by `hostname -f` to get the fully qualified domain name
>which won't work if it isn't there.
>

Looks like `hostname -f' is linux-only thing. If you run it on
Solaris 2.6 or HP-UX 11.0 (as root!) you will set your hostname
to `-f' (whith I once did, and it took some time to find out
why some important applications stopped working)

Viktor

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links