Creating an alias like in the hosts file without a number on a local windows PC
Posted on 2007-11-14
I am looking to do what you would think to be a simple thing.
I want to be able to put a definition on a local PC like in a hosts file.
A hosts file can do
192.168.9.9 johnspc.theserver.com server4.anotheralias.com
When pinging either johnspc.theserver.com server4.anotheralias.com it will be pointed to 192.168.9.9
What I want to do is do it by alias partly using DNS, saying as in the example above;
so when I ping server1.theserver.com DNS will return the address for server4.anotheralias.com
Suggestions without using DNS it must be a local solution?