Shorten Long DNS names
Posted
by user32425
on Server Fault
See other posts from Server Fault
or by user32425
Published on 2010-03-19T05:01:40Z
Indexed on
2010/03/19
5:11 UTC
Read the original article
Hit count: 593
Hi,
Amazon gives us a very long dns names i.e. c-123-123-123-255.compute-1.amazonaws.com Is there a way to map this name into a shorter name
i.e. essentially what i want to do is to modify /etc/hosts file, and map the long name into a short one, i.e. aws1 c-123-123-123-255.compute-1.amazonaws.com
but because /etc/hosts file only accepts ip address mapping, then I cannot do that.
Is there any other way to do this?
Thanks
© Server Fault or respective owner