AnotherUser
Limp Gawd
- Joined
- Oct 7, 2011
- Messages
- 137
We currently have sub shops that use a combination of Cisco routers & ASA's to VPN back to our main location. These devices do DHCP & DNS with DNS primary being our main DNS server (inside 10.x.x.x) and the secondary being an outside DNS (ISP, Google etc).
The problem we run into is if the VPN drops, Windows cannot talk to the primary DNS so it swaps to the secondary. Once the VPN is back up, computers still cannot communicate to our 10.x.x.x network since Windows is just happy as a fat cat with cheese to use the secondary DNS.
Question is, how can we tell windows to swap back to the primary without a reboot or adapter disable/enable? Anyone know any batch file commands that would do this?
The problem we run into is if the VPN drops, Windows cannot talk to the primary DNS so it swaps to the secondary. Once the VPN is back up, computers still cannot communicate to our 10.x.x.x network since Windows is just happy as a fat cat with cheese to use the secondary DNS.
Question is, how can we tell windows to swap back to the primary without a reboot or adapter disable/enable? Anyone know any batch file commands that would do this?