macOS AKA OSX domain-specific DNS servers (/etc/resolver)

If you VPN to work from home (or even VPN to home from work, you may have issues resolving hostnames.

It’s trivial to solve in macOS AKA OSX.


$ cat /etc/resolver/

The server (e.g. my will do the nameserving for the domain, as soon as macOS can see the file.

I worried actually quite a while, until I found that solution. It’s very nice.

I actually have to access each local box with “” appended, but that’s not so bad.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.