Can't resolve Mac's machine name on VPN
Posted
by
Raghuveer
on Super User
See other posts from Super User
or by Raghuveer
Published on 2012-11-26T09:42:38Z
Indexed on
2012/11/27
23:12 UTC
Read the original article
Hit count: 178
My mac'c machine name is something like this: hostname.company.com but whenever I connect to VPN, it becomes something like vpn-xxxx.company.com where xxxx are some random numbers. Because of this, some of my scripts which are dependent on host name gets blocked.
We use the standard mac's vpn setup which comes with OS X Lion (under network preferences).
How can I resolve to the correct mac's name even if I am on vpn ? That is even if I am connected to VPN, my machine name should resolve to hostname.company.com and NOT to vpn-xxxx.company.com.
Any suggestions would be really appreciated.
© Super User or respective owner