How to use aliases for remote hosts when accessing locally
Posted
by alexloh
on Server Fault
See other posts from Server Fault
or by alexloh
Published on 2010-06-01T18:46:24Z
Indexed on
2010/06/01
18:56 UTC
Read the original article
Hit count: 249
networking
|alias
I would like to use an alias for a remote host. For example, when instead of "ping giraffe.foo.bar.com" I want to do "ping giraffe", but only when I do it from my own machine. I am able to do this for raw IP addresses by adding an entry in /etc/hosts (ie "123.456.1.0 giraffe"), but it does not seem to work for host names.
© Server Fault or respective owner