Synology - Set Custom DNS Servers for Docker
- Edit /var/packages/Docker/etc/dockerd.json:
{ "dns": ["SERVER_0", "SERVER_1"] }
- Restart the Docker package
synoservice --restart pkgctl-Docker
{
"dns": ["SERVER_0", "SERVER_1"]
}
synoservice --restart pkgctl-Docker