From 4dff772c6d8c82144ce971998b2a77a94c150f23 Mon Sep 17 00:00:00 2001 From: Saif Date: Wed, 6 May 2020 23:41:09 +0400 Subject: [PATCH 1/3] Update dns-forwarding.md --- docs/ARO 4.3/configure/dns-forwarding.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/ARO 4.3/configure/dns-forwarding.md b/docs/ARO 4.3/configure/dns-forwarding.md index ca896b1..4fd3c84 100644 --- a/docs/ARO 4.3/configure/dns-forwarding.md +++ b/docs/ARO 4.3/configure/dns-forwarding.md @@ -21,4 +21,17 @@ spec: - example.com ``` -Save the file and exit your editor. \ No newline at end of file +Save the file and exit your editor. + +To quickly validate the new DNS forwarding setup, you can do the following: + +```bash + +# Test the DNS resolution +kubectl run --generator=run-pod/v1 -it --rm aro-ssh --image=debian +# Once you are in the interactive session, execute the following commands (replace the FQDN with yours) +apt-get update +apt-get install dnsutils -y +nslookup REPLACE.YOURDOMAIN.corp. + +``` From 483ea96d090567c71551e8bd5a34702f5fac2511 Mon Sep 17 00:00:00 2001 From: Saif Date: Wed, 6 May 2020 23:44:33 +0400 Subject: [PATCH 2/3] Added quick forwarder test Test is done through establishing interactive session to a debian based pod and execute nslookup. --- docs/ARO 4.3/configure/dns-forwarding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ARO 4.3/configure/dns-forwarding.md b/docs/ARO 4.3/configure/dns-forwarding.md index 4fd3c84..6529cec 100644 --- a/docs/ARO 4.3/configure/dns-forwarding.md +++ b/docs/ARO 4.3/configure/dns-forwarding.md @@ -28,7 +28,7 @@ To quickly validate the new DNS forwarding setup, you can do the following: ```bash # Test the DNS resolution -kubectl run --generator=run-pod/v1 -it --rm aro-ssh --image=debian +oc run --generator=run-pod/v1 -it --rm aro-ssh --image=debian # Once you are in the interactive session, execute the following commands (replace the FQDN with yours) apt-get update apt-get install dnsutils -y From 81b78a74d7d3b5bd179053ba4d6d12cb3bd6d389 Mon Sep 17 00:00:00 2001 From: Saif Date: Wed, 6 May 2020 23:48:09 +0400 Subject: [PATCH 3/3] Update dns-forwarding.md Added sample output and termination command --- docs/ARO 4.3/configure/dns-forwarding.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/ARO 4.3/configure/dns-forwarding.md b/docs/ARO 4.3/configure/dns-forwarding.md index 6529cec..d5cca85 100644 --- a/docs/ARO 4.3/configure/dns-forwarding.md +++ b/docs/ARO 4.3/configure/dns-forwarding.md @@ -33,5 +33,15 @@ oc run --generator=run-pod/v1 -it --rm aro-ssh --image=debian apt-get update apt-get install dnsutils -y nslookup REPLACE.YOURDOMAIN.corp. +# Output should looklike: +# Server: 172.30.0.10 +# Address: 172.30.0.10#53 + +# Non-authoritative answer: +# Name: REPLACE.YOURDOMAIN.corp +# Address: 10.165.5.4 + +# Terminate the session +exit ```