Case

DNS: Hostname not resolving

DNS record validation using dig and multiple resolvers to confirm correct routing.

Case Summary

  • ProblemHostname returns NXDOMAIN or points to the wrong target, causing the site to be unreachable.
  • SolutionCorrect the DNS record (A/CNAME), then verify with multiple resolvers until consistent.
  • Toolsdig · nslookup · public resolvers
  • OutcomeHostname resolves to the correct target and traffic reaches the service.

Commands used (examples)

kubectl get pods -n <ns>
kubectl describe pod <pod> -n <ns>
kubectl logs <pod> -n <ns> --previous
kubectl get events -n <ns> --sort-by=.lastTimestamp | tail
systemctl status <service> --no-pager
journalctl -u <service> -n 200 --no-pager