Solved

Clearing out old DNS Records?

Posted on 2007-03-19
5
202 Views
Last Modified: 2010-03-18
I recently set up RRAS on windows server 2003. I have a new employee who will be working remotley. So we are using RRAS for the VPN as well as Citrix Presentation Server 4.5.

Anyway the problem I am having is this. To get ready for the new employee I have been testing the VPN conection from home. All seems to work well exept for one thing. I am getting multible entries on my DNS server for the same PC. This is causing requests made for this pc to go to the wrong IP Adress. Her is what happens.

Lets say my PC name is Mickey, I log on at work and I recieve an IP Adress of 192.168.0.10. This is registered in DNS. Then I go home and connect through the VPN. The VPN is settup to have a static IP Address of 192.168.0.20. This is now registered Into DNS but it does not replace the old entrie for mickey it creates a new one. But if I try to comunicate with Mickey from the lan the old Adress of 192.168.0 10 is still being used, not the new address of 192.168.0 20.

Im not sure if this is because the DNS cach needs to be cleared on the pc that is trying to talk to mickey or if it is because there are two entries for Mickey in DNS. I tried deleting the old A Record for Mickey in DNS, but it seems to keep coming back. Why is this?
0
Comment
Question by:dustinwk
  • 4
5 Comments
 
LVL 70

Accepted Solution

by:
KCTS earned 500 total points
ID: 18748888
0
 

Author Comment

by:dustinwk
ID: 18752579
OK I set up Aging and scavenging I already had part of that set up just not quite right. but Im still having a problem. for simplicity lets keep calling the pc "Mickey". Mickey had three DNS entries in it one of xxx.xxx.xxx.70 which was given by the lan dhcp then I took it home and loged in through the VPN and it gave it an xxx.xxx.xxx.87 that weekend I changed the scope of the DHCP server to be xxx.xxx.xxx.100-200 so when I loged in I was also given a DNS entrie for xxx.xxx.xxx.105 after setting up scavanging and aging lots of records were removed but not these three I set everything very short so I could see if it wold work. I loged out of that pc and started using another one after the specified time the entries were removed for mickey so I thought "well good it worked". but after loging back in with mickey all three enries came back. even though the pc is just using the new dhcp given address of xxx.xxx.xxx.105 so why do the other ones keep coming back?
0
 

Author Comment

by:dustinwk
ID: 18753743
I verified it again. Aging and scavenging is working corectly. What is happening is that when I log on to the network with the vpn, two entries are being registered in dns. one is the right one xxx.xxx.xxx.87 and the other is the wrong one that my pc was using from last friday xxx.xxx.xxx.70. I am not sure why this is but I have deleted the invalid record and logged in and it always creates it again. Aging and scavanging will not get rid of it because it is a new entrie the time stamp shows me this. In addition to this I can delete all of the records for this pc and if I log on at work three entries are put into DNS the one from last friday xxx.xxx.xxx.70, the one my vpn was using xxx.xxx.xxx.87, and the one my pc is using on the lan that was assigned by dhcp xxx.xxx.xxx.105. It is like my pc is remembering anything it has ever used and registering all of them in dns any time it connects. Any Idea what might me causing this? The pc I am using is running Vista Buissness eddition
0
 

Author Comment

by:dustinwk
ID: 18757771
A bit more Info,

I am conecting at work right now and as mentioned I am getting three entries in dns. I deleted all three and did a "ipconfig /registerdns" and all three came back. so I am sure that it is somthing with this pc trying to register three addresses. I would like to fix this but for now I just unchecked the box that says Register this pc's conection in dns, and I created a manual host record for the pc in DNS. thats the only think I can think to do right now. but any help would be great. thanks!
0
 

Author Comment

by:dustinwk
ID: 18920411
ill keep working on this from time to time, but I have pretty much given up on this. thanks for all the help
0

Featured Post

Swamped with email signature updates?

Have you been given a load of changes to make to your users’ email signatures? Having to manually implement multiple signatures for every department? Let Exclaimer save you from being swamped with email signature updates!

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 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

16 Experts available now in Live!

Get 1:1 Help Now