Synology - Set Custom DNS Servers for Docker

  1. Edit /var/packages/Docker/etc/dockerd.json:
    {
     "dns": ["SERVER_0", "SERVER_1"]
    }
    
  2. Restart the Docker package
    synoservice --restart pkgctl-Docker