set FQDN for hostname

Thufir Hawat hawat.thufir at gmail.com
Thu Nov 4 09:14:27 UTC 2010


Is there a GUI for setting the FQDN?

manpage for hostname:

Technically:  The FQDN is the name getaddrinfo(3) returns for the host
name returned by gethostname(2).  The DNS  domain  name  is  the  part
after the first dot.

Therefore  it depends on the configuration (usually in /etc/host.conf)
how you can change it. Usually (if the hosts file is parsed before DNS
or NIS) you can change it in /etc/hosts.



I ask because the manpage says that *usually* it's set from /etc/
host.conf, but doesn't really say how change it if not there.



-Thufir





More information about the ubuntu-users mailing list