[CentOS] /etc/sysconfig/network HOSTNAME settings

Sat Sep 3 17:05:17 UTC 2016
Walter H. <Walter.H at mathemainzel.info>

Hello,

I found different ways to define the hostname ...

this
HOSTNAME="host.domain.tld"

or this:
HOSTNAME="host"
DOMAIN="domain.tld"

what is the correct way?

Thanks,
Walter