banahosting... you are worng...
man page for hostaname...
NOTES
The address families hostname tries when looking up the FQDN, aliases and network addresses of the host are determined by the configuration of your resolver. For instance, on GNU Libc
systems, the resolver can be instructed to try IPv6 lookups first by using the inet6 option in /etc/resolv.conf.
FILES
/etc/hosts /etc/hostname This file should only contain domain name and not the full FQDN.
man page for hostaname...
NOTES
The address families hostname tries when looking up the FQDN, aliases and network addresses of the host are determined by the configuration of your resolver. For instance, on GNU Libc
systems, the resolver can be instructed to try IPv6 lookups first by using the inet6 option in /etc/resolv.conf.
FILES
/etc/hosts /etc/hostname This file should only contain domain name and not the full FQDN.