[MacOS] DNS search path not working?

Mark Felder feld at feld.me
Thu Apr 28 13:14:13 UTC 2022


I've observed this on MacOS 12 Monterey. I have also tested on iOS 15.4.1 where it works as expected. (I know they share the same codebase).

On MacOS I have my DNS configured correctly as DNS =, int.foo.com but it doesn't seem to actually work. e.g., if I have a host named server.int.foo.com I cannot just "ping server"; I have to use the FQDN of server.int.foo.com.

This behavior works correctly with an OpenVPN connection using the Viscosity software. I have compared the output of scutil --dns and verified that both OpenVPN and Wireguard appear to generate identical DNS configuration. I'm not sure where else to look for differences between what OpenVPN/Viscosity and Wireguard are doing.

Any tips?



  Mark Felder
  feld at feld.me

More information about the WireGuard mailing list