The setup that I recommend, and which I plan to promote as the future
standard, for machines without permanent network cards is:
$ cat /etc/hostname
foo
$ hostname
foo
$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
127.0.1.1 foo
..
$ hostname -f
foo
If the machine has a permanent network card with a permanent IP address
(i.e., not assigned by DHCP) but no permanent domain name then the
standard configuration is:
On installation, squid should be able to handle all these standard
configurations without failing in order to be considered fit for
release.
--
Thomas Hood <email address hidden>
Please note that the standard way of setting up a Debian system that
lacks a permanent network card is:
$ cat /etc/hostname localdomain localhost foo localdomain
foo
$ hostname
foo
$ cat /etc/hosts
127.0.0.1 localhost.
...
$ hostname -f
localhost.
The setup that I recommend, and which I plan to promote as the future localdomain localhost
standard, for machines without permanent network cards is:
$ cat /etc/hostname
foo
$ hostname
foo
$ cat /etc/hosts
127.0.0.1 localhost.
127.0.1.1 foo
..
$ hostname -f
foo
If the machine has a permanent network card with a permanent IP address
(i.e., not assigned by DHCP) but no permanent domain name then the
standard configuration is:
$ cat /etc/hostname localdomain localhost
foo
$ hostname
foo
$ cat /etc/hosts
127.0.0.1 localhost.
202.13.55.88 foo
..
$ hostname -f
foo
If the machine has a permanent network card with a permanent IP address
and a permanent domain name then the standard configuration is:
$ cat /etc/hostname localdomain localhost
foo
$ hostname
foo
$ cat /etc/hosts
127.0.0.1 localhost.
202.13.55.88 foo.foodomain foo
..
$ hostname -f
foo.foodomain
On installation, squid should be able to handle all these standard
configurations without failing in order to be considered fit for
release.
--
Thomas Hood <email address hidden>