Re: Switch DNS servers on the fly
- From: "Ace Fekay [MCT]" <aceman@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Aug 2009 23:30:04 -0400
"Jordan" <nospam@xxxxxxxx> wrote in message news:ecgQZl5HKHA.1492@xxxxxxxxxxxxxxxxxxxxxxx
I often have to VPN into several networks and RDP to some machines on the network. I run into issue were some of the domains have registered a *.mydomain.com address so every address resolves to their external IP. That can be a pain when I have to connect to internalpc.mydomain.com and I get the outside IP instead of the 192.168.1.x IP.
How can I change my primary DNS server with a batch file or something so instead of pointing to my home ISPs DNS server first it will point to the DNS server of my VPN connection?
What are you using for VPN?
By default, any VPN client you use, once connected, will use the VPN's IP configuration, which should be the internal DNS of the network you're connecting to because by default, the VPN (RRAS) interface on the client will be on top of the binding order.
Now if you're saying you're getting some other DNS address once connected with the VPN, then the VPN needs to be configured properly to provide the correct configuration.
--
Ace
This posting is provided "AS-IS" with no warranties or guarantees and confers no rights.
Please reply back to the newsgroup or forum to benefit from collaboration among responding engineers, and to help others benefit from your resolution.
Ace Fekay, MCT, MCTS Exchange, MCSE, MCSA 2003 & 2000, MCSA Messaging
Microsoft Certified Trainer
For urgent issues, please contact Microsoft PSS directly. Please check http://support.microsoft.com for regional support phone numbers.
.
- Follow-Ups:
- Re: Switch DNS servers on the fly
- From: Jordan
- Re: Switch DNS servers on the fly
- References:
- Switch DNS servers on the fly
- From: Jordan
- Switch DNS servers on the fly
- Prev by Date: Re: Unknown names resolve to [8.15.7.99]
- Next by Date: Re: Dynamic DNS updates
- Previous by thread: Switch DNS servers on the fly
- Next by thread: Re: Switch DNS servers on the fly
- Index(es):
Relevant Pages
|
Loading