LFCS 103 🐧 DNS Client Tools — dig, host, nslookup
When a name resolution fails, the first question is whether the failure is in the local configuration files (/etc/hosts, /etc/resolv.conf, /etc/nsswitch.conf) or in the DNS server itself. The tools dig, host, and nslookup exist to answer that question. They query DNS servers directly, bypassing the local resolution order, and display the raw records returned. The…