A fully qualified domain name (FQDN), sometimes also referred to as an absolute domain name, is a domain name that specifies its exact location in the tree hierarchy of the Domain Name System (DNS) after registering a domain. It specifies all domain levels, including the top-level domain and the root zone. A fully qualified domain name is distinguished by its lack of ambiguity: it can only be interpreted one way.
incorrectly configured FQDN can cause mail server malfunction and many other problems.
Ubuntu/Debian:
1.you need to edit /etc/hostname
server1
CentOS/Redhat:
1. you need to edit /etc/sysconfig/network
HOSTNAME=server1.domain.com
2. you need to use 'hostname -F' to setup the hostname
-F, --file read host name or NIS domain name from given file hostname -F /etc/hostname
3. edit /etc/hosts to setup FQDN
127.0.0.1 localhost.localdomain localhost wan_ip server1.anydomain.com server1
Comments