Link to home
Start Free TrialLog in
Avatar of dustinwk
dustinwk

asked on

Clearing out old DNS Records?

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?
ASKER CERTIFIED SOLUTION
Avatar of Brian Pierce
Brian Pierce
Flag of United Kingdom of Great Britain and Northern Ireland image

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
Avatar of dustinwk
dustinwk

ASKER

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?
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
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!
ill keep working on this from time to time, but I have pretty much given up on this. thanks for all the help