Troubleshooting
2025.10
Compute
Networking
VMHA
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Troubleshooting CoreDNS Add-on
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
CoreDNS handles DNS resolution for PCD-K clusters. As a critical core add-on and the default DNS server in Kubernetes, broken CoreDNS functionality directly impacts DNS request resolution. When CoreDNS experiences such issues, here's a general guide on how to troubleshoot CoreDNS add-on problems.
Environment
- Private Cloud Director - v2025.4 and Higher.
- Kubernetes Cluster - 1.31.2 or Higher.
Procedure
- CoreDNS is deployed as a deployment in the
kube-systemnamespace. Verify the pod status in the namespace using command:
Command
$ kubectl get pods -n kube-system- Review why these pods are in "
CrashLoopBackOff/OOMkilled/Pending/Error" state, see events sections in below command output.
Command
$ kubectl describe <pod-name> -n <calico-namespace>- Get more information on the failure from pod logs using command:
Command
$ kubectl logs <pod-name> -n <kube-system>- Validate if the
kube-dnsservice is showing the correct CoreDNS pods endpoints using command:
Command
$ kubectl describe svc -n kube-system kube-dns- SSH to a worker node and check its
_/etc/resolv.conf_. Are the upstream DNS servers correct and reachable from the node? - If these steps prove insufficient to resolve the issue, kindly reach out to the Platform9 Support Team for additional assistance.
Most common causes
- The upstream DNS Server Unreachability, usually from
_/etc/resolv.conf_of the worker node. - CoreDNS connectivity to the Kubernetes API server is down.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Troubleshooting MetalLB Add-onDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message