Solved

Clearing out old DNS Records?

Posted on 2007-03-19
5
198 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
Comment Utility
0
 

Author Comment

by:dustinwk
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 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

13 Experts available now in Live!

Get 1:1 Help Now