The process to running DPS is basically the same for all platforms, except by Windows which don’t support auto configuration as default DNS.
Download the latest release for your platform
Start DPS
sudo ./dns-proxy-server
Then you can solve from pre-configured entries (conf/config.json):
$ ping dps-sample.dev
PING dps-sample.dev (192.168.0.254) 56(84) bytes of data.
Also solve Docker containers:
$ docker run --rm --hostname nginx.dev nginx
$ ping nginx.dev
PING nginx.dev (172.17.0.4) 56(84) bytes of data.
64 bytes from 172.17.0.4 (172.17.0.4): icmp_seq=1 ttl=64 time=0.043 ms
64 bytes from 172.17.0.4 (172.17.0.4): icmp_seq=2 ttl=64 time=0.022 ms
See specific running instructions to check how is possible to set DPS as default DNS on docker at your platform or set as default DNS automatically feature docker limitations for more details.