Re: /etc/hostname <-- FQDN?
On Mon, Nov 17, 1997 at 06:18:34PM +0100, Peter Prohaska wrote:
> do I have to put the FQDN in here?
In /etc/hostname, you just have to put the machine name, not the FQDN, eg
machine.
> And where is that information used for if I've got that /etc/hosts file
> to handle local lookups.
/etc/hosts contains, for each line, the IP address, space, the FQDN,
space, the machine name (special case: 127.0.0.1 localhost which must
always be there)
> If I have two inferfaces with different IP-adds, it is also possible that
> my host is known with two different names, isn't it? So whats his hostname
> then?
The hostname is the name you put in /etc/hostname; /etc/hosts is for hosts
lookups.
olive
--
Olivier Tharan, <tharan@int-evry.fr>
Volume in Drive C: TOO_LOUD!
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: