FQDN confusion

Derek Broughton derek at pointerstop.ca
Fri Apr 24 17:40:22 UTC 2009


Brian McKee wrote:

> What is supposed to be in /etc/hostname?  The hostname? or the FQDN?

Just the hostname.

> And what is usually placed in the /etc/hosts file after the 127.0.1.1
> entry - FQDN or hostname?

That's a little less definite.  Just the hostname should suffice, but I
always put the hostname AND fqdn there, then I can reference my own machine
without going through the DNS server.
-- 
derek





More information about the ubuntu-users mailing list