File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ requiring a roundtrip from the client to kube-dns each time (actually to `dnsmas
214
214
--->
215
215
### 自动路径
216
216
217
- CoreDNS 还具有一项特殊功能,可以改善 DNS 中外部名称请求的延迟。在 Kubernetes 中,Pod 的 DNS 搜索路径指定了一长串后缀。可以在群集中请求服务时使用短名称 - 例如,上面的 "headless",而不是 "headless.default.svc.cluster.local"。但是,当请求一个外部名称(例如 "infoblox.com")时,客户端会进行几个无效的 DNS 查询,每次都需要从客户端到 kube-dns 往返(实际上是到 ` dnsmasq ` ,然后到 ` kubedns ` ) ,因为 [ 禁用了负缓存] ( https://github.com/kubernetes/dns/issues/121 ) )
217
+ CoreDNS 还具有一项特殊功能,可以改善 DNS 中外部名称请求的延迟。在 Kubernetes 中,Pod 的 DNS 搜索路径指定了一长串后缀。这一特点使得你可以针对集群中服务使用短名称 - 例如,上面的 "headless",而不是 "headless.default.svc.cluster.local"。但是,当请求一个外部名称(例如 "infoblox.com")时,客户端会进行几个无效的 DNS 查询,每次都需要从客户端到 kube-dns 往返(实际上是到 ` dnsmasq ` ,然后到 ` kubedns ` ),因为 [ 禁用了负缓存] ( https://github.com/kubernetes/dns/issues/121 ) )
218
218
219
219
* infoblox.com.default.svc.cluster.local -> NXDOMAIN
220
220
* infoblox.com.svc.cluster.local -> NXDOMAIN
You can’t perform that action at this time.
0 commit comments