Link to home
Start Free TrialLog in
Avatar of Tacobell2000
Tacobell2000Flag for Canada

asked on

Add an entry in DNS that redirects the request to another server

Hello,

A client of mine asked me to upgrade an NT 4.0 server to W2K server sp4. Because of hardware problems (scsi raid controller) i could not upgrade  but I had to migrate all their data and their user accounts etc...onto a new Dell Poweredge server. As a consequence a new domain was created and an inter-forest trust was established. All users can logon to either domains. My intention is to transfer all data from the NT 4.0 server to the new server and then install a new scsi controller on the old server and upgrade it to W2k and make it join the domain as a member server. This server will become a file server. The old scsi card according to Adaptec is incompatible with a new one they had bought and as a consequence all data will be lost on the array. So a complete format is the order of the day.
The accounting dept works with a payroll application located on the NT 4.0 server and they are currently mapped to \\servername\accounting .  After moving all the data to the new server I added a CNAME Record with the name of the old server (ie server) and for the value i added the FQDN of the new server. The share accounting is created on the new server. The problem is when i try connecting to the new server (ie \\server\share\data\accounting) I get the following error message stating that  (ie you were not connected because a duplicate name exists on the network). I check and there is no duplicate name on the network.
Would someone please help me by pointing me in the right direction.

Many thanks,

Tacobell2000

Avatar of Zaheer Iqbal
Zaheer Iqbal
Flag of United Kingdom of Great Britain and Northern Ireland image

Plz check event viewer errors and post them here ..
Avatar of Tacobell2000

ASKER

No errors in event log to report.
Avatar of justinm99
justinm99

Sort of off topic here.. but is the payroll app using DNS or WINS. It sounds like you're browsing to the machine anyway..

If you're browsing to the new server with old NT boxes keep in mind they still use wins so you will need to set up a wins server (very easy, just install the service and set your clients up with the WINS ip).

If however the payroll app is on win2k and you still can't find the new server- try flushing your DNS cache (ipconfig /flushdns from the command console).

Let me know if any of this has been helpful, or if you have any questions.
Correction i am runnig Windows 2003 server and clients are XP Pro SP1.

Tried the ipconfig /flushdns from the command console with no success. Also the ping is successful using both the "oldserver" name and the current server name. However when i use the FQDN of the oldserver a window is displayed "you were not connected because a duplicate name exists on the network".

C:\>ping oldserver

Pinging l3lan.com [192.168.1.6] with 32 bytes of data:

Reply from 192.168.1.6: bytes=32 time<1ms TTL=128
Reply from 192.168.1.6: bytes=32 time<1ms TTL=128
Reply from 192.168.1.6: bytes=32 time<1ms TTL=128
Reply from 192.168.1.6: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.1.6:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

When i do a net view i get the following answer:

C:\>net view \\oldserver
System error 52 has occurred.

You were not connected because a duplicate name exists on the network. Go to Sys
tem in Control Panel to change the computer name and try again.
hmm very odd.. your DNS record for your new server is of course not the same as your old server?


Is this DNS zone AD integrated or is it primary. I would like to take a look at all of your zone & host entries.
It is a DNS zone AD integrated. Here is a copy of the zone.

;
;  Database file l3lan.com.dns for l3lan.com zone.
;      Zone version:  3
;

@                       IN  SOA mtldco.l3lan.com.  hostmaster. (
                              3            ; serial number
                              900          ; refresh
                              600          ; retry
                              86400        ; expire
                              3600       ) ; default TTL

;
;  Zone NS records
;

@                       NS      mtldco.l3lan.com.

;
;  Zone records
;

localdc2                A      192.168.1.3
mtldco                  A      192.168.1.6
you cannot use dns or wins to redirect \\oldserver...   \\servername can only be used for the actual hostname of a computer,, not a redirected wins/dns name   ie  only \\hostname will work,,, see this article below :

http://support.microsoft.com/default.aspx?scid=kb;en-us;254210&Product=win2000
correct me if I'm wrong:

localdc2                A     192.168.1.3 - new server
mtldco                  A     192.168.1.6 - old server


and if you ping mtldc.l3lan.com you get an error?
also can you ping the IP address?

please paste any results. Thanks.

mikeleebra is right, I tried this on a cname record for a file server I have and it didn't work.

I didn't know that!

In this case I suppose you have a few choices:

1)reconfigure the server name the payroll software uses to the new server and move the payroll software
2)move the payroll software to another location, upgrade the old server to the new OS, then move the software back and keep using the old server name

There may be other alternatives as well.
ocaldc2                A     192.168.1.3 -domain controller 1
mtldco                  A     192.168.1.6 - domain controller 2

I would like  all accounting clients that are mapping to "server" to be redirected to mtldco.

Is this possible?
how about renaming your old server, and renaming your new server to the old server name, when your clients try connecting they should connect to the new server.
the old server is not in existance anymore. It has been decomissioned.
so instead of using mtldco rename the server to the same name your old server had? IF this doesn't work you might have to reconfigure each client.. not crystal clear on how your payroll software does dns lookups though.
I cannot understand why the above cannot be done. As I understand it an A record yields an IP address that corresponds to a host name. There can be multiple IP addresses corresponding to a single host name; there can also be multiple host names each of which maps to the same ip address.

Tacobell2000
ASKER CERTIFIED SOLUTION
Avatar of justinm99
justinm99

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial