Technically: The FQDN is the name gethostbyname(2) 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.
127.0.1.1 node.example.com node
127.0.1.1 node node.example.com
dynamik wrote: » You should update the hostname (FQDN) in /etc/sysconfig/network and do a service network restart. I'm not sure if that last part is necessary since doing a hostname prior shows changes.