Solved

DNS Problem

Posted on 2007-03-28
23
279 Views
Last Modified: 2012-08-14
I have a windows 2003 member server and lost the box. I rebuilt the box and had to name it with another name. So now when my clients try to connect they cannot. Can i create a DNS entry that will redirect them and give them the access that they had previously? I thought of a CNAME record but early tests are not showing that it will work.
0
Comment
Question by:phil1347
  • 12
  • 10
23 Comments
 
LVL 11

Accepted Solution

by:
AnthonyP9618 earned 150 total points
ID: 18813198
You could create an alias... Are you familiar with the process?
0
 

Author Comment

by:phil1347
ID: 18813207
Yes i am and i did, After doing this i was able to ping the new server by old name so to speak but users did not have access to the file share for some reason. I recieved and error, not sure of the error at this time.
0
 
LVL 11

Expert Comment

by:AnthonyP9618
ID: 18813220
OK... lets try to simplify this a bit more.

Server1 goes missing
Rebuild Server1 and rename is to Server2

Remove all references in DNS to Server1.
Create a new alias in DNS that points Server1 to Server2.

You should be able to ping Server1 and get Server2's response.

Post the error?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:phil1347
ID: 18813229
OK let me try tomorrow and see if it works. Maybe i did something wrong. If this works i will immediatly let you know.

Thanks.
Phil
0
 
LVL 11

Expert Comment

by:AnthonyP9618
ID: 18813238
If the above works... I should mention that it's not a best practice to leave aliases in DNS for more than 90 days.  You should slowly begin to migrate users who are pointing to Server1 over to Server2 then delete the alias completely.
0
 

Author Comment

by:phil1347
ID: 18813293
Hi Anthony,
I just simulated this and did get the error. I made the ALIAS and then flushed and registered dns and was able to ping the new address. Then i tried to connect with a shortcut that worked with the old server and the error was "Z\ is not accessable Logon failure: The target account name is incorrect"
0
 
LVL 11

Expert Comment

by:AnthonyP9618
ID: 18813306
Can you post the shortcut?  How is it pointing?  Feel free to cleanup anything you aren't comfortable posting.
0
 

Author Comment

by:phil1347
ID: 18813323
I mapped a drive Z to the share and then dragged a shortcut to  the desktop. Neither one works. All the mapped drive points to is
share on 'CMS200' (Z:)
If i now try to map a new drive to the same share on  the new computer i get:
The mapped network drive could not be created because the following error occured:
Logon error: The target account name is incorrect
0
 

Author Comment

by:phil1347
ID: 18813341
Is it possible it could be the SID
0
 
LVL 11

Expert Comment

by:AnthonyP9618
ID: 18813347
OK... Is the old server removed from AD?  Have we doublechecked to ensure theres no reference to Server1 in DNS?

That error seems to point that the old name is still somewhere in AD and causing conflicts.

http://support.microsoft.com/kb/310340
0
 

Author Comment

by:phil1347
ID: 18813356
No the old server is offline but not removed from AD. And yes no reference in any DNS Servers or cache. So it may be that the server needs to be deleted??
0
 
LVL 11

Expert Comment

by:AnthonyP9618
ID: 18813371
Yes.  Delete the old computer account from AD.
0
 

Author Comment

by:phil1347
ID: 18813375
OK i did and now when i click it it says a duplicate name exists on the network- hey were getting closer
0
 
LVL 11

Expert Comment

by:AnthonyP9618
ID: 18813377
> Is it possible it could be the SID

It's possible, but doubtful.  Usually when you have a duplicate SID, AD will not let that computer even join the domain until it has a SID generated.
0
 
LVL 11

Expert Comment

by:AnthonyP9618
ID: 18813394
Try to disconnect and remap the network drive.

If that doesn;t work let's do an nslookup

nslookup Server1
nslookup Server2

Are we getting the same IP addresses back?
Can you ping both servers?
0
 

Author Comment

by:phil1347
ID: 18813397
OK it now says when i click the mapped drive:
You were not connected because a duplicate name exists on the network, go to system in contorl panel and change the name
0
 

Author Comment

by:phil1347
ID: 18813421
nslookup shows the same IP for both servers- OK
i can only ping the new server because server1 is offline-OK
I tried to remap a drive and it says as i have posted.
Tried a new mapped drive from another computer and no go again (No network provider accepted the given path)
0
 
LVL 11

Expert Comment

by:AnthonyP9618
ID: 18813438
OK... I sense something is still off.  It looks like the DNS alias is still there because an nslookup returns the same IP for each server.  But I'm confused why you can't ping it... It should be pinging the same IP.

pinging server1 doesn't result in a timeout, but pinging server2 you get a response?

Definitely a weird problem you're having here.... I'm confused as to why it's saying there is a duplicate name on the network.  Let's try a reboot... Perhaps leave enough time for AD to replicate the computer change.
0
 

Author Comment

by:phil1347
ID: 18813454
pinging both server names returns the new server name IP Address which seems correct
I did restart but still the duplicate name thing
I will wait for replication and check in the morning
0
 
LVL 83

Assisted Solution

by:oBdA
oBdA earned 100 total points
ID: 18814139
That error occurs because the DNS alias is not the machine's real name, so it won't accept the connection. You'll have to edit the server's registry to allow access through an alias:
Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name
http://support.microsoft.com/?kbid=281308
0
 
LVL 11

Expert Comment

by:AnthonyP9618
ID: 18814906
D'oh... Should have remembered that one.
0
 

Author Comment

by:phil1347
ID: 18815205
OK let me test this today
0
 

Author Comment

by:phil1347
ID: 18815463
Excellent work, thanks it worked!!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using netsh to create a wireless hub that connects to the Internet 4 52
2003 Server DNS/FS errors 6 54
SPF record issue 6 38
Additional DC vs Child Domain 12 23
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

832 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