You might want to take a closer look into how gluetun handles dns requests. For a referance point to start... https://github.com/qdm12/gluetun/issues/1443 https://github.com/qdm12/gluetun/issues/1523