Interview practice question
Server can't resolve hostnames
Cloud & DevOps · Linux and Scripting · Intermediate
Commands on a server fail with "could not resolve host". How do you troubleshoot?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Check /etc/resolv.conf nameservers.
- dig/nslookup against resolver.
- systemd-resolved status.
- Network/firewall to DNS (port 53).
- /etc/hosts overrides.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.