Hostname to Hostname mapping within /etc/hosts possible?
I'm 99.9999% sure I know the answer to this already, but just wanted to check no-one knew of an ingenious way to do this anyway..
Changing etc/hosts file in order to have a hostname map to a hostname ... rather like a cname I suppose.
Why?!? you ask.. well
I basically have some long DNS names that are configured in several place on a server but all of them point to the same IP address. I wondered to make sys admin easier if it was possible I create an entry such as
and then configure all these different places to use the shortname, just so if the DNS of the long name changes its easy to change that DNS entry... as i have no control over the DNS name?
Is it possible without installing any form of local DNS server?