Skip to content

Commit 11e3ad3

Browse files
yixin21tengqm
andauthored
Update content/zh/blog/_posts/2018-07-10-coredns-ga.md
Co-authored-by: Qiming Teng <[email protected]>
1 parent fd6313b commit 11e3ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/zh/blog/_posts/2018-07-10-coredns-ga.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ headless.default.svc.cluster.local has SRV record 0 25 443 172-17-0-9.headless.d
193193
For some applications, it is desirable to have the pod name for this, rather than the pod IP
194194
address (see for example [kubernetes#47992](https://github.com/kubernetes/kubernetes/issues/47992) and [coredns#1190](https://github.com/coredns/coredns/pull/1190)). To enable this in CoreDNS, you specify the "endpoint_pod_names" option in your Corefile, which results in this:
195195
--->
196-
对于某些应用程序,需要具有容器名称,而不是容器 IP 地址(例如,参见 [kubernetes#47992](https://github.com/kubernetes/kubernetes/issues/47992)[coredns#1190](https://github.com/coredns/coredns/pull/1190))。要在 CoreDNS 中启用此功能,请在 Corefile 中指定 "endpoint_pod_names" 选项,结果如下:
196+
对于某些应用程序,你会希望在这里使用 Pod 名称,而不是 Pod IP 地址(例如,参见 [kubernetes#47992](https://github.com/kubernetes/kubernetes/issues/47992)[coredns#1190](https://github.com/coredns/coredns/pull/1190))。要在 CoreDNS 中启用此功能,请在 Corefile 中指定 "endpoint_pod_names" 选项,结果如下:
197197

198198
```
199199
dnstools# host -t srv headless

0 commit comments

Comments
 (0)