OS X & VPN DNS Issue


 
Thread Tools Search this Thread
Special Forums IP Networking OS X & VPN DNS Issue
# 1  
Old 11-20-2013
OS X & VPN DNS Issue

I'll try and be brief and detailed.

I have a Macbook Pro Retina running Mavericks. When on my network at the office (work) everything local works just fine. Local servers are resolved through our internal DNS settings. For example, we have a fileserver at "fs01". I can connect to it with just that.

So, when I'm not on VPN (PPTP) everything works. When I connect to my VPN, all of my local DNS resolution starts to fail. I can still connect to everything locally using IP's just not names. So, "fs01" is at "10.133.0.231" and if I use that I can connect, ping, etc. Ping of the name "fs01" while on VPN returns:

Code:
ping: cannot resolve fs01: Unknown host

I've wondered if it was a route issue but since I can get to it via IP I don't think so. It must be a DNS thing. But, my system tells me that it is using the local DNS servers as primary. Here is the output of nslookup server:


Code:
josh:~ root# nslookup 
> server
Default server: 10.133.0.2
Address: 10.133.0.2#53
Default server: 10.133.0.3
Address: 10.133.0.3#53
Default server: 10.133.0.4
Address: 10.133.0.4#53
>

Just in case it will be helpful, here's my routing table:

Code:
josh:~ root# netstat -r
Routing tables

Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            10.141.7.1         UGSc           34       19     en5
default            10.141.7.1         UGScI           1        0     en0
default            10.0.1.0           UGScI           0        0    ppp0
10/24              ppp0               USc             1        3    ppp0
10.0.1.0           10.0.1.1           UHr             1        0    ppp0
10.0.1/24          ppp0               USc             0        0    ppp0
10.141.7/24        link#11            UCS            11        0     en5
10.141.7/24        link#4             UCSI           10        0     en0
10.141.7.1         link#4             UHLWIir         2        0     en0
10.141.7.1         0:24:38:c1:a0:0    UHLWIir        36      104     en5    816
10.141.7.24        3c:7:54:5e:20:34   UHLWI           0        0     en0    859
10.141.7.24        3c:7:54:5e:20:34   UHLWI           0        0     en5    859
10.141.7.36        3c:7:54:4b:a3:f4   UHLWI           0        0     en0    778
10.141.7.36        3c:7:54:4b:a3:f4   UHLWI           0        0     en5    779
10.141.7.68        98:fe:94:ea:96:49  UHLWI           0        0     en0   1155
10.141.7.68        98:fe:94:ea:96:49  UHLWI           0        0     en5   1155
10.141.7.102       30:f7:c5:1c:20:95  UHLWI           0        0     en0   1130
10.141.7.102       30:f7:c5:1c:20:95  UHLWI           0        0     en5   1130
10.141.7.105       60:c5:47:23:7a:a9  UHLWI           0        1     en5    778
10.141.7.125       84:38:35:93:4b:6d  UHLWI           0        0     en0    738
10.141.7.125       84:38:35:93:4b:6d  UHLWI           0        0     en5    739
10.141.7.126       28:cf:e9:56:88:87  UHLWI           0        1     en0    846
10.141.7.126       28:cf:e9:56:88:87  UHLWI           0        0     en5    846
10.141.7.127       10:dd:b1:b7:12:23  UHLWI           0        0     en0    663
10.141.7.127       10:dd:b1:b7:12:23  UHLWI           0        1     en5    663
10.141.7.135       localhost          UHS             0        2     lo0
10.141.7.154       localhost          UHS             0        0     lo0
10.141.7.218       68:a8:6d:26:df:b4  UHLWI           0        0     en0    846
10.141.7.218       68:a8:6d:26:df:b4  UHLWI           0        0     en5    846
66.219.193.79.prov 10.141.7.1         UGHS            1     5990     en5
127                localhost          UCS             0        0     lo0
localhost          localhost          UH             11      272     lo0
169.254            link#11            UCS             0        0     en5


Please help! Does anyone know why local dns lookups fail once I connect to the VPN?
# 2  
Old 11-20-2013
Maybe there is a firewall somewhere in the VPN configuration which is blocking?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

VPN issue on Linux:

I was using PureVPN (with openvpn) on my windows machines and thought I'd try setting that up on linux mint 19.1 (xfce 32 bit). I followed complete installation process given on their website and all was working fine until I had to move the renamed config file into the openvpn folder. ... (2 Replies)
Discussion started by: ericaustin
2 Replies

2. IP Networking

VPN Server & Client

First of all, hello. I have a problem installing a vpn server and client. My server is a computer running windows 7, and windows, running a virtual machine running debian. In the debian system, I've the vpn server installed (SoftEther VPN Server) The problems come when I try to connect to... (1 Reply)
Discussion started by: Blues23
1 Replies

3. HP-UX

HP-UX DNS issue

Hi All, I'm having some problems with our HP-UX environment. I'm running Oracle EBS on a HP-UX system, and whenever my primary dns server goes down some of my clients can no longer connect. Everything on my windows side continues to work, and clients can reach the internet and other services... (6 Replies)
Discussion started by: agonza07
6 Replies

4. Red Hat

iptables & port 53 (DNS)

Hi, I have a newly built RHEL5 OS that is unable to talk to the DNS server. I am unable to telnet resolv.conf entry over port 53 but apparently this port has been opened. # telnet 209.212.96.1 53 and..... # dig www.google.com ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>>... (9 Replies)
Discussion started by: Duffs22
9 Replies

5. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

6. UNIX for Dummies Questions & Answers

DNS & DHCP configuration

Hi to all. Sorry for my bad english. For pure self-educational, not professional, purposes, I am studying how to configure a server with several services operating on it. For my experiment I'm using VirtualBox 3.1.4 on a WinXP host with 3 FreeBSD guests; one acts as a DHCP + DNS server; the... (0 Replies)
Discussion started by: marboxer
0 Replies

7. UNIX for Dummies Questions & Answers

FTP, DNS & BIND

Hi GURUs, I have two queries. 1)I know I can use FTP clients for my File transfer needs, but I want to learn FTP thru command line, any one can point me to some good online resource available to learn FTP command line with examples, of course free except UNIX man pages. 2) Our company has... (4 Replies)
Discussion started by: patras
4 Replies

8. IP Networking

internal routing & vpn

hi there. i got a vpn working. this is what happens: remote pc ----(vpn/INTERNET)----vpn server--(redirect)---webapp (internal network) real: 200.12.15.20 200.20.45.123 vpn: 10.8.0.2 10.8.0.1 internal: ... (0 Replies)
Discussion started by: wachichornia
0 Replies

9. IP Networking

VPN Issue

Hi all I wish to connect to my works network via a vpn which they have setup. the only trouble is it is more windows friendly than unix. By this I mean connecting via windows everything is automatically setup (routes etc) - not so with linux. I am a relative newbie with respect to vpn routing so... (0 Replies)
Discussion started by: silvaman
0 Replies
Login or Register to Ask a Question