Solved

Creating an alias like in the hosts file without a number on a local windows PC

Posted on 2007-11-14
3
4,269 Views
Last Modified: 2012-05-05
Hi,
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.
e.g.
server1.theserver.com      server4.anotheralias.com
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;
server1.theserver.com      server4.anotheralias.com
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?
Thanks Peter
0
Comment
Question by:PeterSinger
  • 2
3 Comments
 
LVL 9

Expert Comment

by:MSE-dwells
ID: 20289141
I know of no way of creating the local equivalent of a DNS CNAME.  I believe you're out of luck on this one ... short of a completely custom solution.
0
 
LVL 4

Author Comment

by:PeterSinger
ID: 20293489
The correct solution to this issue is to us a free DNS service on your PC like http://www.ntcanuck.com/downloads.htm

It will allow you to add a cname on the local PC and forward any other request to the DNS in your DHCP settings.

It has a very low overhead and is simple to use.
0
 
LVL 9

Accepted Solution

by:
MSE-dwells earned 500 total points
ID: 20293790
... so why did you ask here if you've got a solution?

PS - I'd agree -- very inventive, nice job ... sadly, it's utterly unsupportable in the world I live/work in.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
Resolve DNS query failed errors for Exchange
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now