Hostnames Fail to Resolve over VPN

Discussion in 'OS X Mountain Lion (10.8)' started by brgnewman, Sep 6, 2013.

  1. brgnewman macrumors member

    Jun 11, 2007
    We provide our employees with L2TP VPN access so that they can securely connect and access corporate resources from their personal computers at home. For the last few months we have been battling an issue where the personal Macs owned by various employees suddenly stop resolving hostnames over the L2TP VPN tunnel (their personal Macs initially work fine on the VPN, but after months of use they suddenly stop resolving hostnames).

    If I try to ping the hostname/FQDN of a resource across the L2TP VPN tunnel (i.e. ""), I get an error stating:
    ping: cannot resolve Unknown host

    However - if I ping the IP address of a resource across the L2TP VPN tunnel (i.e., I'm able to communicate with the resource:
    64 bytes from icmp_seq=0 ttl=128 time=36.063 ms

    We are using the native VPN client built into Mac OS X 10.7/10.8. Inside the VPN profile, we have correctly configured the DNS settings (DNS Server -, Search Domain -, but we keep encountering this issue.

    The temporary workaround we have given to our employees is to run the following commands in Terminal on their personal Mac when they experience this issue:
    sudo launchctl unload -w /System/Library/LaunchDaemons/
    sudo launchctl load -w /System/Library/LaunchDaemons/

    After they run those two commands, they are able to successfully access corporate resources using their hostnames/FQDNs.

    However - it's not really a solution...

Share This Page