diff --git a/dns/README.md b/dns/README.md index 5ab8a16..ec6b3ae 100644 --- a/dns/README.md +++ b/dns/README.md @@ -64,19 +64,25 @@ Let's try with that Service : First, let's retrieve DNS IP : ``` -kubectl -n dns get svc coredns +$ kubectl -n dns get svc coredns NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE -coredns LoadBalancer 10.97.35.253 192.168.5.201 53:32585/UDP 1d +coredns LoadBalancer 10.98.74.182 192.168.5.201 53:30690/UDP 2d1h ``` We can now try DNS resolution ``` -$ dig @192.168.5.201 nginx.open-it.intra -short +$ dig @192.168.5.201 nginx.open-it.intra +short +192.168.5.203 ``` or ``` -nslookup nginx.open-it.intra 192.168.5.201 +$ nslookup nginx.open-it.intra 192.168.5.201 +Server: 192.168.5.201 +Address: 192.168.5.201#53 + +Name: nginx.open-it.intra +Address: 192.168.5.203 ```