wp.jochen.hayek.name/blog-en

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.

E.g.:

$ cat /etc/resolver/fritz.box
nameserver 10.0.4.1

The server 10.0.4.1 (e.g. my fritz.box) will do the nameserving for the domain fritz.box, 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 “.fritz.box” appended, but that’s not so bad.

Exit mobile version