FQDN vs. domain in /etc/hosts
in my understanding the /etc/hosts file should contain an entry with the
FQDN of the host.
184.108.40.206 hostname.domain.tld hostname
I would for simplicity prefer to use a domain name instead of a FQDN.
220.127.116.11 domain.tld hostname
In my DNS-configuration I can define an IP- address for both the domain
name and the subdomain.
domain.tld -> 18.104.22.168
subdomain.domain.tld -> 22.214.171.124
So both addresses are unambiguous. For what reason now would I need a
FQDN? Why wouldn't a domain name suffice?