Clearing out old DNS Records?
Posted on 2007-03-19
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?