[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

FQDN vs. domain in /etc/hosts


in my understanding the /etc/hosts file should contain an entry with the FQDN of the host. hostname.domain.tld hostname

I would for simplicity prefer to use a domain name instead of a FQDN. domain.tld hostname

In my DNS-configuration I can define an IP- address for both the domain name and the subdomain.

domain.tld ->
subdomain.domain.tld ->

So both addresses are unambiguous. For what reason now would I need a FQDN? Why wouldn't a domain name suffice?

Cheers, Stefan

Reply to: