I'd like to add shorthands for various FQDNs into the /etc/hosts
file, such as:
pyrrha.compsci.university.org. pyrrha
Is there a way to force the local DNS resolver to process the /etc/hosts
entries recursively?
Why? Inserting full FQDNs into every config file feels redundant. Creating an alias in a central location solves this and also adds a level of abstraction, which allows for a simple update of the FQDN behind the alias, should it ever change.