Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using VPN Tracker to get an VPN connection to work. My problem, though, is that I have to use ip addresses to connect to 'in-office'-computers.

How can I make my mac resolve computer names belonging the office-network?


share|improve this question

Another way, if the VPN server you connect to is not cooperative or just generally you want to tweak things for your liking (e.g. add your own domain search path) is to edit /etc/dhcp3/dhclient.conf to append or supersede the information your client receives from the VPN server, e.g.:

supersede domain
supersede domain-search,
supersede domain-name-servers 192.168.0.x, 192.168.0.y
#request subnet-mask, broadcast-address, time-offset, routers,
#       domain-name, domain-name-servers, domain-search, host-name,
#       netbios-name-servers, netbios-scope, interface-mtu,
#       rfc3442-classless-static-routes, ntp-servers;
request subnet-mask, broadcast-address, time-offset, routers,
        host-name, netbios-name-servers, netbios-scope, interface-mtu,
        rfc3442-classless-static-routes, ntp-servers;

That way you don't touch /etc/resolv.conf behind any program's back and have it maintained properly.

The "request" line means that I commented out the default one and dropped the domaind-name and domain-name-servers it provides. I'm not 100% sure it's still required, it might be a left-over from the time I experimented with this solution.

share|improve this answer

Try the full domain name (like, or add the domain search path to your network preferences by doing:

  1. System Preferences
  2. Network
  3. Select your active network interface
  4. Advanced
  5. DNS
  6. Add your work's domain to the search domains

My Nortel VPN client doesn't do DNS correctly either.

share|improve this answer

The VPN server your company is using will likely allow them to manually specify the DNS servers that will be handed-out when a client connects. Check with your VPN administrator and verify that the company's internal DNS server is on the list.

Otherwise you can add the internal DNS server by going into the network settings, like churnd describes.

share|improve this answer

edit your person host file


add the individual computer names with ip address's

share|improve this answer
Sorry, but I think you should read the question once more... – Vegar Feb 8 '10 at 11:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .