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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
ASKER
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!
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!
ASKER
ill keep working on this from time to time, but I have pretty much given up on this. thanks for all the help
ASKER