Auto configure host default DNS

DPS will configure itself as the default machine DNS when running on standalone mode (not on docker).

Activation

This feature is active by default and can be disabled by defaultDns json config or -default-dns commandline arg.

Platform Support

Check the following table to understand the support at every platform:

✅: Fully supported, ❌: Not supported, ⚠️: Partially supported

Platform Support Description
Linux Will use system-resolved when avaible or /etc/resolv.conf, check MG_RESOLVCONF env check which file will be configured, see running on Linux for more details
MAC OSX DPS will use networksetup to configure the DNS, check running on MAC to see more details
Windows Windows is not supported yet but there is an issue to solve that

Docker Limitations

When you run DPS on docker it won’t be able to configure itself as the default host DNS depending on your environment, so you will need to that manually, see specific running it instructions for your platform for more details.