Skip to content

Commit f60ea90

Browse files
authored
Merge pull request #38002 from chrisseto/patch-4
Correct misleading wording in Pod DNS Policies
2 parents 43777d6 + e2c34df commit f60ea90

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

content/en/docs/concepts/services-networking/dns-pod-service.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,15 @@ following Pod-specific DNS policies. These policies are specified in the
220220
See [related discussion](/docs/tasks/administer-cluster/dns-custom-nameservers)
221221
for more details.
222222
- "`ClusterFirst`": Any DNS query that does not match the configured cluster
223-
domain suffix, such as "`www.kubernetes.io`", is forwarded to the upstream
224-
nameserver inherited from the node. Cluster administrators may have extra
223+
domain suffix, such as "`www.kubernetes.io`", is forwarded to an upstream
224+
nameserver by the DNS server. Cluster administrators may have extra
225225
stub-domain and upstream DNS servers configured.
226226
See [related discussion](/docs/tasks/administer-cluster/dns-custom-nameservers)
227227
for details on how DNS queries are handled in those cases.
228228
- "`ClusterFirstWithHostNet`": For Pods running with hostNetwork, you should
229-
explicitly set its DNS policy "`ClusterFirstWithHostNet`".
229+
explicitly set its DNS policy to "`ClusterFirstWithHostNet`". Otherwise, Pods
230+
running with hostNetwork and `"ClusterFirst"` will fallback to the behavior
231+
of the `"Default"` policy.
230232
- Note: This is not supported on Windows. See [below](#dns-windows) for details
231233
- "`None`": It allows a Pod to ignore DNS settings from the Kubernetes
232234
environment. All DNS settings are supposed to be provided using the

0 commit comments

Comments
 (0)