external IP's resolving instead of internal for VPN clients

I have the same problem at a number of clients and the same problem as others at Experts Exchange which have not got a solution.  VPN is working with simple pptp. I can browse etc.  
NSLOOKUP shows ISP DNS servers before Internal DNS servers for the clients; that looks wrong to me.  
IPconfig /all shows properly for WINS and DNS all showing internal IPs.
DNS works properly within the network for everyone internal.  Exchange is at abc.def.com internally at 192.168.1.1 and our ISP has an identical host name abc.def.com registered for an external address of xxx.yyy.zzz.aaa which also works for VPN connection.  The only time it doesn't work is after a vpn client accesses the local network for exchange and gets blocked because he gets the external ip for the host name.  I tried lmhosts lookup in the VPN networking advanced properties and also unclicking the "use default gateway on remote network" I put static entry's for DNS and WINS which did help for some things but not this.

Help!?
peterrhughesAsked:
Who is Participating?
 
saw830Connect With a Mentor Commented:
Hi peterrhughes,

I would suggest statically setting the DNS on the clients that roam outside the LAN.  I would set the Primary DNS to the internal, Active Directory DNS server address and set the Secondary DNS to a know external DNS server, like ISP's DNS server.  This will allow the client to always resolve based on the internal DNS server if it can, and only use the external DNS server when it can't reach the internal DNS server.

Hope this helps,
Alan
0
 
peterrhughesAuthor Commented:
Good idea, I will try it now.
0
 
peterrhughesAuthor Commented:
holy smokes you can't immmmagine how exciting this is.
Award this guy Alan 1000 points for answering my question and one just like it on the featured VPN questions that was sort of abandoned without a correct solution.  It was and internal external DNS question just like mine.

Beauty out to you buddy from Canada!

I didn't think the failover in DNS actually worked that well.
What an eligant answer getting something to fail when not being able to correctly configure something they way we should be able to.

I am happy happy happy.  And the answer came quick to.

Thanks Alan.  
0
 
saw830Commented:
You are most welcome.  Glad it solved your problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.