DNS Resolving in the Wrong Order.

Giganews Newsgroups
Subject: DNS Resolving in the Wrong Order.
Posted by:  Jared Brodsky (jsb [at] greatertalent (dot) com)
Date: Thu, 30 Jun 2005

Here is my bizarre issue. I have a user working remotely over VPN.
The user sits behind a Netopia DSL gateway running it NAT mode.
The VPN client in use is the Windows XP PPTP client with split tunneling
disabled passing all traffic over through the VPN.
I have manually configured the DNS in the TCP/IP settings to use my two
local DNS servers on the remote LAN.
Here is what happens.
The user needs to connect to a host in our office. The host is our exchange
server.  The hostname is gtn-ex1 which has an internal ip of 10.1.1.* as
well as an external public ip for mail delivery.
however, when pinging the host while connected to the VPN it only returns
the External IP address.
When doing an nslookup on the servers IP address I get the following
response.
*** Can't find server name for address 192.168.1.254: Non-existent domain
Server:  gtn-dc1.greatertalent.com
Address:  10.1.1.*

Name:    gtn-ex1.greatertalent.com
Addresses:  10.1.1.*, 10.1.1.*

Now the host gtn-ex1 has an A record locally pointing to the server IP
address.
Here is the part that is confusing me.  It seems as if the PC is attempting
to contact the local DNS server that of the ISP (Bellsouth) before it
connects to the ones I have designated.  Which is why when trying to connect
to the host it always returns the external IP address.

Some of the things I have tried are as follows
ipconfig /release
ipconfig /renew
ipconfig /flushdns
ipconfig /registerdns
I have checked the hosts file >everything looks good.
I have also gone under advanced configuration in network settings and
changed the order that adapters are being bound.

help!!!!

Replies