Solved

Force workstations to see the new server as the old server's hostname using DNS.

Posted on 2007-12-03
12
199 Views
Last Modified: 2010-04-07
I have a scenario where I need to allow workstations in my network to see a newly installed SBS server as an old SBS server name for the sake of accessing share files.
For instance the syntax: \\oldserver\sharedfiles   would access in reality \\newserver\sharedfiles.
I have tried to put in an A record in DNS on the new server for the DNS name oldserver to be the IP address of the newserver, and did the same thing to the host file on the XP workstations, however it only works if I am doing things in a web browser like http://oldserver/exchange will go to the OWA of the new server just fine.
Does anyone know how I can fool the XP workstations into thinking that the old server still exists using DNS or something?
If you are wondering why the weird requirement, it is to make an old database with an unknown number of data sets pointing to the old server name, and updating those names to the new server name is just not an option as I did not write the DB and the author is nowhere to be found.  But this is a mission critical database and I have it on a renamed XP workstation in order to make it work, but obviously I NEED to get it on the server somehow.
Thanks!
0
Comment
Question by:logicaltechs
  • 6
  • 5
12 Comments
 
LVL 12

Expert Comment

by:weareit
ID: 20397872
IMHO, It would be easier to modify the DB.

-saige-
0
 

Author Comment

by:logicaltechs
ID: 20397951
So is it possible?
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 20398051
You need to use a CNAME (Alias) record, not a host (A) record.  The CNAME record would be oldserver.domain.com and it would resolve to newserver.domain.com.  That should work fine.
0
 

Author Comment

by:logicaltechs
ID: 20398118
OK, I tried this on a test server, and I get this error message:
\\oldserver
You were not connected because a duplicate name exists on the network.  Go to System in Control Panel to change the computer name again.

However if I try to access something else using the alias, like http://oldserver/exchange for OWA for example it works.
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 20398139
Is there another machine on the network with the same name?  Or are there stale records somewhere - in AD, DNS or WINS, for example - with the old server name?
0
 

Author Comment

by:logicaltechs
ID: 20398532
Actually, I thought the same thing, so just to test I went to whole other network with a different domain and everything.  I created a CNAME record in DNS called Phantom.domain.local and aliased it to server1.domain.local.  Now when I ping phantom, it resolves in a ping request.  But again if I got to run path and type: \\phantom   I get the same error message.  So I KNOW there is are no other computers or stale records with the name in it.  I did all the usual stuff like restart DNS server services and ipconfig /flushdns.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 38

Accepted Solution

by:
Hypercat (Deb) earned 500 total points
ID: 20398659
Browsing is a different animal; I don't think it will work if you try to browse or directly open a shared resource like you are doing.  However, I know that it works in the case where a program is looking for the server to connect to a shared resource.  The reason I originally did this on one of my networks has to do with Word and template locations, and adding the alias fixed the problem completely.  I'm not saying 100% that this means it will work with your database program, but is there any way you can test it from the actual program itself, rather than trying to use browsing?
0
 

Author Comment

by:logicaltechs
ID: 20398687
Well, I did test it, and I get the error message, "Cannot find the file the program needs to startup (\\oldserver\db.mdb)"  So I naturally attempt to browse to it.
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 20398925
Naturally...well, maybe this just won't work for this program, then.  Are you getting that message when you run the program from its executable, or are you using a shortcut?
0
 

Author Comment

by:logicaltechs
ID: 20398943
From it's executable...  Well, I appreciate your help, if you don't have any other ideas, I will go ahead and accept you previous answer and award your points.
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 20399048
I can't think of any other way around this offhand.  Even if you try to fool WINS with a static mapping, it probably won't work.
0
 

Author Comment

by:logicaltechs
ID: 20399059
Thanks for your help.
0

Featured Post

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DNS Name Pointing 6 47
Autodiscover not working when outside the organization 5 63
Creating a reverse DNS record 3 53
Powershell knowledge 2 28
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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

14 Experts available now in Live!

Get 1:1 Help Now