File tree 1 file changed +17
-0
lines changed 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,23 @@ as follows:
120
120
2. The container uses the first response returned by any of the nameservers.
121
121
Even if the first response is `NXDOMAIN`, or similar.
122
122
123
+ ### IPv6 name resolution
124
+
125
+ The embedded DNS server handles both IPv4 and IPv6 name resolution. However,
126
+ there is a caveat in name resolution for IPv6.
127
+
128
+ Any IPv6 addresses specified in the `/etc/resolv.conf` file on the host system
129
+ get copied over to the `/etc/resolv.conf` file in containers that you run.
130
+
131
+ For containers running on musl libc (Alpine Linux), hostname resolution might
132
+ sporadically fail if the external IPv6 DNS server wins the race condition
133
+ against the embedded DNS server.
134
+
135
+ It's rare that the external DNS server is faster than the embedded one. But
136
+ things like garbage collection, or large numbers of concurrent DNS requests,
137
+ can result in a roundtrip to the external server be faster than the local
138
+ resolution, on some occasions.
139
+
123
140
### Custom hosts
124
141
125
142
Custom hosts, defined in `/etc/hosts` on the host machine, aren't inherited by containers.
You can’t perform that action at this time.
0 commit comments