Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS and VPN

Status
Not open for further replies.

Linxs

IS-IT--Management
Apr 11, 2002
16
US
I have people who VPN into my network. I want them to be able to access the machines via remote desktop (I have this working my question will be near the end). Instead of giving out a bunch of IP address’s to people I would much rather give them names that are easy to remember. Right now they have to use the IP address’s to get to the PC’s. How would I set this up so they could use the PC’s name? I have win 2k advanced server (still learning it) any help would be awesome.


 
If they VPN inside, set them up with a DNS server on your internal network so they can resolve the ip/names. 01110000
 
Ok, As I stated i am still learning all this, can someone maybe be a little more specific as to how? If someone had a step by step that would be awesome...
 
you need to know the IP address of your internal DNS server, this is the server that translates computer names to IP addresses. If you add this dns server to your vpn client computers dns server list they can access pc's via name not just IP.

on the client pc's go to network properties - TCP/ip properties and advanced (depending on os) just find the dns properties page and add the ip of you dns server there. 01110000
 
Thats great. I was playing around on this page in the VPN client already. Thanks I'll do this!
Thank you for the help.
 
I have VNC installed. Once I VPN into the network, I start a vnc session, enter in my netbios name, and I'm working on my computer here from home. Easy. Glen A. Johnson
Microsoft Certified Professional
gjohn76351@msn.com
"Whatever creativity is, it is in part a solution to a problem."
Brian Aldiss (b. 1925); British science fiction writer.
 
Why VNC if you vpn in? why not just install the same apps etc, I also use vnc dont get me wrong its great but not as fast as a directly installed app. 01110000
 
Files on a novell server and don't show up when we vpn in. Moving everything to w2k and getting rid of novell. Plus, I like to see what's going on remotely with vnc. Have it installed on our servers. Don't like the idea of more than one admin working on a server without the other knowing what he's doing. Glen A. Johnson
Microsoft Certified Professional
gjohn76351@msn.com
"Accident is the name of the greatest of all inventors."
Mark Twain (1835-1910), U.S. author.
 
well I tried it. Still does not work. I went into my connection (the VPN connection) went to properties -> networking -> internet protocol (TCP/IP) -> properties -> advanced -> DNS -> i added our DNS server IP address. I also added the sufix. what did I do wrong?
 
Add it to the computers network properties, not the VPN properties, From the client pc desktop right click network neighborhood, or my network places and add the dsn server there. 01110000
 
ok question though. Will adding the DNS (of my DNS server)to the client PC's network properties mess up thier DNS when they are not VPNed in to my network (they have DSL or cable modems)?
 
Definitely, sorry if I wasnt more detailed on this. I'm vpn'd 24/7.

I'm assuming your using microsoft VPN then? I think in this setup your vpn client gets an internal ip address when the establish the vpn connection, There has to be a setting that will also assign a dns server
01110000
 
I thought so, Well I'll look around some more hehe I just do not want to mess anything up! Thanks for the comments so far. :)
 
I was just curiois is DHCP giving you your IP address. If so in the scope options make sure that you have the proper DNS servers there and there will be no need to hardcode them. Also under advanced settings on your some clients XP i know for sure there is an box that you can check that automaticall appends domain name to client name. So when you query server1 it actually sends server1.domain.com Thanks
Erik Butler
2000 MCSE
erikbutler@centurytel.net
 
The users that connect are on DSL or Cable modems (no one dials in)so I assume they keep there own IP address (I am not possitive, remember I am still new to all this. trying to learn :) ).

You are correct about the option to automatically append domain name to client. there actially are a number of options here i am not sure what to select. there is

DNS server addresses, in order of use (you put in the IP addresses)

Then there is a line saying: The following three settings are applied to all connections with TCP/IP enabled. For resolution of unqualified names:

Append primary and connection specific DNS suffixes
Append parent suffixes of the primary DNS sufix
Append these DNS suffixes (in order) (you input the sufix here)
DNS suffix for this connection: (a box to put the sufix in)
Register this connection's address in the DNS
Use this connection's DNS suffix in DNS registration.

I added and IP address in the DNS server address box. I also added an suffix for the this connection and checked both:
Register this connection's address in the DNS
Use this connection's DNS suffix in DNS registration.

Still no luck getting the name resolution working. I can use the IP addresses but not the computer names....
 
Sounds like you did everything right? I'm not so familliar with MS vpn but I'm sure after you make these changes you'll have to reconnect the VPN, if this doesnt work you should refresh the netbios names on the client PC. you can do this by opening a command prompt (dos window) and typing "nbtstat -RR" then enter and "nbtstat-R" this will release and refresh the name to ip mappings using the dns server you speicified. 01110000
 
When a client makes a VPN connection into a network they recieve and IP address for the actuall tunnel into the private network itself. This usually happens from A DHCP server on the network

My next question is what are you running for your VPN server.

Thanks
Erik Butler
2000 MCSE
erikbutler@centurytel.net
 
We are using Win2k advanced server. I beleive just the typical MS DNS off this.
 
I assume you can access your VPN server so go to your Routing and Remote Access Snap-in

Then right click your VPN server go to properties. Then on the IP tab should be the middle one click on it. See if under Ip address assignment if the DHCP radial button is selected. If so you will need to find your DHCP server and look into the scope properties and make sure it is telling clients the correct DNS and WINS settings Thanks
Erik Butler
2000 MCSE
erikbutler@centurytel.net
 
well things just got interesting/complicated...

It looks like the DHCP is from the router (we have DSL for businesses) and the DNS is on our office server. The server actually points to the Router to get dhcp information. Would this make a differance? Do I need the Router to give out the DNS info (which means I'll need to upgrade the sofware on the router) or do I still need to do this on the server?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top