Table of Contents
Newsgroups: gmane.linux.debian.user Date: Sun, 06 Mar 2005 12:04:07 +0100
> Does /etc/hostname use the fully qualified domain name? > > a: www.example.com > b: www
The recommended way is #2. The canonical host name for the machine is determined by /etc/hosts.
# Primary IP address # Canonical host name # aliases 130.28.1.99 www.example.com www
Thomas Hood
> The recommended way is #2...
it should really be done in the dns files itself so that one doesn't need to (re)define it n-times for n-machines and have mis-matches when people change etc/hosts and dont tell nobody and people wonder why innocent-joe's pc work and whacky-bozo's pc fails
use of /etc/hosts should be discouraged unless you are the only one to change it and have just a few boxes to mess round with and do not want to mess around with the whacky dns file formats
Alvin Oga