File tree Expand file tree Collapse file tree
content/manuals/engine/network Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -267,6 +267,15 @@ The embedded DNS server address is `127.0.0.11`.
267267There is no IPv6 equivalent; the IPv4 address works even in IPv6-only containers.
268268If an application requires an explicit DNS server address, use ` 127.0.0.11 ` .
269269
270+ > [ !NOTE]
271+ >
272+ > When you configure multiple DNS servers for a container on the default
273+ > ` bridge ` network, the container's resolver library determines how it queries
274+ > them. Some resolvers query the servers in order. Others query them in parallel
275+ > and use the first response received, even if that response is ` NXDOMAIN ` .
276+ > On a custom network, Docker's embedded DNS server queries upstream servers in
277+ > order and stops after a successful response or an ` NXDOMAIN ` response.
278+
270279You can configure DNS resolution on a per-container basis, using flags for the
271280` docker run ` or ` docker create ` command used to start the container.
272281The following table describes the available ` docker run ` flags related to DNS
You can’t perform that action at this time.
0 commit comments