Solved

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

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Child Domain and dns suffixes 9 42
DNS Scavenging configuration 5 64
Forcibly removing a 2003 server from the Domain 4 37
voice vlan on meraki using 3CX 3 59
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…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

867 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

22 Experts available now in Live!

Get 1:1 Help Now