Skip to content

Commit 27b3b66

Browse files
authored
Merge pull request #39349 from windsonsea/dnspod
[zh] sync dns-pod-service.md
2 parents da376a3 + 2c6506d commit 27b3b66

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ in its `/etc/resolv.conf` file:
532532
创建上面的 Pod 后,容器 `test` 会在其 `/etc/resolv.conf` 文件中获取以下内容:
533533

534534
```
535-
nameserver 1.2.3.4
535+
nameserver 192.0.2.1
536536
search ns1.svc.cluster-domain.example my.dns.search.suffix
537537
options ndots:2 edns0
538538
```

content/zh-cn/examples/service/networking/custom-dns.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
dnsPolicy: "None"
1111
dnsConfig:
1212
nameservers:
13-
- 1.2.3.4
13+
- 192.0.2.1 # 这是一个示例
1414
searches:
1515
- ns1.svc.cluster-domain.example
1616
- my.dns.search.suffix

0 commit comments

Comments
 (0)