DNS

macOS: Using Custom DNS Resolvers

Published by Christian Mohn
macOS DNS

Some times there is a need to use custom DNS servers for some domains, in my case specifically for access to the new lab environment we are building at work (more on that later, this is one beefy lab!) One way of doing this, is adding custom DNS servers to /etc/resolv.conf but in macOS you really shouldn’t be editing that file manually, as it often gets overwritten or otherwise edited by VPN clients and such. Thankfully, there is a better way to create persistent and manageable custom domain specific DNS settings.

Read more →