Solved

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

Posted on 2007-11-14
3
4,284 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Claiming a Domain Name 7 67
Powershell command 2 42
Able to access \\192.168.1.x  but not \\192.168.1.xx from windows 2012 server . 36 62
BIND9 - DNS redirect? 4 29
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…
There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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