-1

It's thought that for the hostname should be used FQDN. I have a doubts about whether using:

host.domain.ltd

and

domain.ltd

for the hostname is the same thing and will be equally correct / acceptable?

I'm willing to use domain.ltd for the hostname.

Is it alright?

Ilia
  • 1,004
  • 1
  • 10
  • 19

2 Answers2

1

man hostname

You can't change the FQDN (as returned by hostname --fqdn) or the DNS domain name (as returned by dnsdomainname) with this command. The FQDN of the system is the name that the resolver(3) returns for the host name.

MDMarra
  • 100,183
  • 32
  • 195
  • 326
1

There is no "standard" rule for your hostname. It depends on many things, like your enviroment (domain or stand alone), your software(like zimbra requires host must have FQDN)...

Feel free to chose hostname, make it something meaning for you.

cuonglm
  • 2,346
  • 2
  • 15
  • 20