Skip to content

Commit 7112adf

Browse files
authored
Update installation-user-provisioned-validating-dns.adoc
In the example of DNS configuration for user-provisioned clusters: https://docs.openshift.com/container-platform/4.14/installing/installing_vsphere/installing-vsphere.html#installation-dns-user-infra-example_installing-vsphere The TTL value is 1w, according to that the output of dig command should be "604800" Sample DNS zone database: ``` $TTL 1W @ IN SOA ns1.example.com. root ( 2019070700 ; serial 3H ; refresh (3 hours) 30M ; retry (30 minutes) 2W ; expiry (2 weeks) 1W ) ; minimum (1 week) IN NS ns1.example.com. IN MX 10 smtp.example.com. ... ... ``` Sample DNS zone database for reverse records: ``` $TTL 1W @ IN SOA ns1.example.com. root ( 2019070700 ; serial 3H ; refresh (3 hours) 30M ; retry (30 minutes) 2W ; expiry (2 weeks) 1W ) ; minimum (1 week) IN NS ns1.example.com. ``` This is incorrect value: ``` $ dig +noall +answer @<nameserver_ip> api.<cluster_name>.<base_domain> api.ocp4.example.com. 0 IN A 192.168.1.5 ``` The correct value according to TTL 1w ``` $ dig +noall +answer @<nameserver_ip> api.<cluster_name>.<base_domain> api.ocp4.example.com. 604800 IN A 192.168.1.5 ```
1 parent 8eac234 commit 7112adf

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

modules/installation-user-provisioned-validating-dns.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $ dig +noall +answer @<nameserver_ip> api.<cluster_name>.<base_domain> <1>
4747
.Example output
4848
[source,terminal]
4949
----
50-
api.ocp4.example.com. 0 IN A 192.168.1.5
50+
api.ocp4.example.com. 604800 IN A 192.168.1.5
5151
----
5252

5353
.. Perform a lookup against the Kubernetes internal API record name. Check that the result points to the IP address of the API load balancer:
@@ -60,7 +60,7 @@ $ dig +noall +answer @<nameserver_ip> api-int.<cluster_name>.<base_domain>
6060
.Example output
6161
[source,terminal]
6262
----
63-
api-int.ocp4.example.com. 0 IN A 192.168.1.5
63+
api-int.ocp4.example.com. 604800 IN A 192.168.1.5
6464
----
6565

6666
.. Test an example `*.apps.<cluster_name>.<base_domain>` DNS wildcard lookup. All of the application wildcard lookups must resolve to the IP address of the application ingress load balancer:
@@ -73,7 +73,7 @@ $ dig +noall +answer @<nameserver_ip> random.apps.<cluster_name>.<base_domain>
7373
.Example output
7474
[source,terminal]
7575
----
76-
random.apps.ocp4.example.com. 0 IN A 192.168.1.5
76+
random.apps.ocp4.example.com. 604800 IN A 192.168.1.5
7777
----
7878
+
7979
[NOTE]
@@ -91,7 +91,7 @@ $ dig +noall +answer @<nameserver_ip> console-openshift-console.apps.<cluster_na
9191
.Example output
9292
[source,terminal]
9393
----
94-
console-openshift-console.apps.ocp4.example.com. 0 IN A 192.168.1.5
94+
console-openshift-console.apps.ocp4.example.com. 604800 IN A 192.168.1.5
9595
----
9696

9797
.. Run a lookup against the bootstrap DNS record name. Check that the result points to the IP address of the bootstrap node:
@@ -104,7 +104,7 @@ $ dig +noall +answer @<nameserver_ip> bootstrap.<cluster_name>.<base_domain>
104104
.Example output
105105
[source,terminal]
106106
----
107-
bootstrap.ocp4.example.com. 0 IN A 192.168.1.96
107+
bootstrap.ocp4.example.com. 604800 IN A 192.168.1.96
108108
----
109109

110110
.. Use this method to perform lookups against the DNS record names for the control plane and compute nodes. Check that the results correspond to the IP addresses of each node.
@@ -121,8 +121,8 @@ $ dig +noall +answer @<nameserver_ip> -x 192.168.1.5
121121
.Example output
122122
[source,terminal]
123123
----
124-
5.1.168.192.in-addr.arpa. 0 IN PTR api-int.ocp4.example.com. <1>
125-
5.1.168.192.in-addr.arpa. 0 IN PTR api.ocp4.example.com. <2>
124+
5.1.168.192.in-addr.arpa. 604800 IN PTR api-int.ocp4.example.com. <1>
125+
5.1.168.192.in-addr.arpa. 604800 IN PTR api.ocp4.example.com. <2>
126126
----
127127
+
128128
<1> Provides the record name for the Kubernetes internal API.
@@ -143,7 +143,7 @@ $ dig +noall +answer @<nameserver_ip> -x 192.168.1.96
143143
.Example output
144144
[source,terminal]
145145
----
146-
96.1.168.192.in-addr.arpa. 0 IN PTR bootstrap.ocp4.example.com.
146+
96.1.168.192.in-addr.arpa. 604800 IN PTR bootstrap.ocp4.example.com.
147147
----
148148

149149
.. Use this method to perform reverse lookups against the IP addresses for the control plane and compute nodes. Check that the results correspond to the DNS record names of each node.

0 commit comments

Comments
 (0)