27_check_cluster_dns.yml - Usage Guide
Purpose
In-cluster DNS (CoreDNS / kube-dns):
- Service + pod + endpoints
- Corefile summary
- Resolves
kubernetes.defaultagainst the kube-dns ClusterIP from the node usingdig/nslookup - Lists NodeLocal DNS if present
For external internet DNS, see 19.
How to run
ansible-playbook -i inventories/cagatayuresincom/hosts.ini playbooks/27_check_cluster_dns.yml
Script: playbooks/files/k8s_cluster_dns_check.py