Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Mount shares by name over VPN' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Mount shares by name over VPN
Authored by: mmnw on Mar 12, '08 08:15:46AM

I had a similar problem some time ago. This is actually a problem of DNS resolving. I guess if you are on site at your company your computer itself is part of the mycompany.com domain, so your computer would be computer.mycompany.com. It is a usual setting in dns resolving to have a search domain applied, which is the upper domain part of your own dns (so in this case mycompany.com). This is often automatically set by DHCP or manually by your network configuration.
If you are outside your company this setting is probably not applied (especially if you route only company traffic through your VPN connection), then your default domain context would be the one of your ISP, or if you're behind a NAT your local home network domain (default is .local).
There is however a solution to this: you can manually add search domains to your dns resolving. Open Network preferences, select the advanced options of your network device, go to the DNS tab. You will find a search-domain list on the right side, where you can manually add additional search domains. Just add "mycompany.com" to that list. From now on you should be fine. You could also add other domains, like "mysecondcompany.com" or even subdomains like "division.mycompany.com". Also bear in mind that if several computers with the same name exist in several search domains the first found will be used.



[ Reply to This | # ]
Very nice.
Authored by: frgough on Mar 12, '08 11:23:59AM

Thanks. Works beautifully.



[ Reply to This | # ]