This might sound stupid and basic to some of you, but I am still so confused about this even after reading numerous sources on the net. My questions still unclear are:
Is the Hostname in machine (for example when typing
hostname
in debian OS ssh) different from Hostname that you type in DNS serverA
Record?Is it normal to have my Debian Machine hostname set as
maximus
and have the DNS A Record Hostname set asmail
?Are these 2 the same that I am confused thinking of them as separate or are they usually used in interchangeable term causing the confusion?
When it comes to FQDN, for the
host
part, does it use the hostname of the machine or the hostname given in the DNS A record?
My setup: 1 Debian 7 VPS with web server and mail server both on the same box.