Controlling DNS query order in multiple network adapters

  • Thread starter Thread starter Aaron Seet
  • Start date Start date
A

Aaron Seet

When my remote machines VPN back to the office, it comes difficult to
resolve the hostnames of the internal network since they are only known
by the office DNS server.

How do I explicit set Windows XP/2000 to query the VPN PPP adapter's DNS
servers rather than the primary network adapter's (ISP DNS servers)?
 
Doesn't the office DNS server have a static public IP?
If it does, then point the primary DNS on win XP / 2000 to it.
office DNS can be set to resolve external queries using R/Hints
or using forwarders.
It's not clear how exact your set up is.
Sharad
 
In
Aaron Seet said:
When my remote machines VPN back to the office, it comes difficult to
resolve the hostnames of the internal network since they are only
known by the office DNS server.

How do I explicit set Windows XP/2000 to query the VPN PPP adapter's
DNS servers rather than the primary network adapter's (ISP DNS
servers)?

VPNs seem to be troublesome in this area. You may need to try a HOSTS file
with references to the local office DC and any other resources they need to
get to.

--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
The office DNS server is internal, sitting behind the router with the
public WAN IP. But public or private IP is besides the point. The
situation is this:

Imagine you're at home with your PC setup with your ISP's nameservers.
You VPN into your office network, which has a domain. So you wish to
access say resources off a file server Files.office.domain.net. Now
office.domain.net is _not_ a publicly accessible domain, and your PC
will go querying the ISP nameservers to resolve that which it can't.
Only the internal DNS servers can.

If you have to tell your employees to manually change their TCP/IP
settings, that's real tedious. How is it possible to tell Windows
2000/XP's networking properties to use the VPN PPP adapter's DNS servers
_instead_ then?


Aaron
 
That's what I told ..
All clients should use your office IP as DNS both for internal and external
queries, and not ISP's DNS.
Your office DNS can set to do external (internet) queries also, by using
forwarders / Roots Hints.
Thus your clients use only one DNS - your office DNS and not changing the
DNS servers when
to be connected to office VPN and internet.
On the router if firewall is enabled, you need to enable port 53 (both tcp &
udp).

Other options is use hosts file instead.

Sharad
 
Back
Top