Troubleshooting: DNS Resolution Failed
| October 26, 2021
All Longhorn versions.
The longhorn-driver-deployer or longhorn-csi-plugin or longhorn-ui Pods unable to access the longhorn manager backend http://longhorn-backend:9500/v1.
The CoreDNS of the Kubernetes cluster is unable to resolve the longhorn-backend service, causing the DNS resolution to fail.
kubectl get service longhorn-backend -n longhorn-system
kubectl get pod -l app=longhorn-manager -n longhorn-system
kubectl get pod -n kube-system
kubectl exec -it <longhorn-manager-pod-name> -- nslookup longhorn-backend
K3S_RESOLV_CONF=/etc/resolv.conf
RKE2_RESOLV_CONF=/etc/resolv.conf
--resolv-conf flag to point to the correct resolv.conf.Recent articles
© 2019-2026 Longhorn a Series of LF Projects, LLC. Documentation Distributed under CC-BY-4.0.
For website terms of use, trademark policy and other project policies please see lfprojects.org/policies.