QuestionQ156Verified/Kubernetes FundamentalsCopy linkReport a problemAsk AstroTutorSave questionDNS problems are suspected within a Pod. Which command is most useful to verify the issue?Akubectl delete pod to recreate the Pod and test if the issue resolves after restarting.Bkubectl get endpoints to confirm whether Services have the correct backend addresses.Ckubectl logs to review application output for errors related to DNS resolution.Dkubectl exec -- nslookup to check name resolution directly inside the Pod.Show AnswerAnswerExplanationRunning nslookup through kubectl exec performs a name-resolution test inside the Pod, directly validating whether its configured DNS service can resolve names.Learn moreDebugging DNS Resolutionkubectl execShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion