From 287f482e317021f0b2c517ade849b9c461fac43e Mon Sep 17 00:00:00 2001 From: Rob Murray Date: Tue, 26 Mar 2024 16:26:45 +0000 Subject: [PATCH 1/2] Feature option 'windows-dns-proxy' Document feature option 'windows-dns-proxy', which can be used to enable or disable forwarding of DNS requests from the daemon's internal resolver to external servers. Signed-off-by: Rob Murray --- docs/reference/dockerd.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/reference/dockerd.md b/docs/reference/dockerd.md index 580b1f0dec73..0cf727b1379c 100644 --- a/docs/reference/dockerd.md +++ b/docs/reference/dockerd.md @@ -1236,6 +1236,12 @@ The list of feature options include: snapshotters instead of the classic storage drivers for storing image and container data. For more information, see [containerd storage](https://docs.docker.com/storage/containerd/). +- `windows-dns-proxy`: when set to `true`, the daemon's internal DNS resolver + will forward requests to external servers. Without this, most applications + running in the container will still be able to use secondary DNS servers + configured in the container itself, but `nslookup` won't be able to resolve + external names. The current default is `false`, it will change to `true` in + a future release. This option is only allowed on Windows. #### Configuration reload behavior From 762a85a10373ad9a78269f15a0f49717d9aa9029 Mon Sep 17 00:00:00 2001 From: Albin Kerouanton Date: Fri, 19 Apr 2024 13:32:28 +0200 Subject: [PATCH 2/2] Warn about deprecation of windows-dns-proxy flag Signed-off-by: Albin Kerouanton --- docs/reference/dockerd.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/reference/dockerd.md b/docs/reference/dockerd.md index 0cf727b1379c..17083e0e4ea3 100644 --- a/docs/reference/dockerd.md +++ b/docs/reference/dockerd.md @@ -1243,6 +1243,9 @@ The list of feature options include: external names. The current default is `false`, it will change to `true` in a future release. This option is only allowed on Windows. + > **Warning** + > The `windows-dns-proxy` feature flag will be removed in a future release. + #### Configuration reload behavior Some options can be reconfigured when the daemon is running without requiring