dig, explained
Ask a DNS server a question and read the whole answer. What NOERROR and NXDOMAIN mean, and what it tells you when no server answers at all.
On Windows and Mac
Mac
dig web.homelab.testdig @10.0.10.53 web.homelab.testOpen Terminal. dig is usually already installed on a Mac, so the commands in the video work as shown, and the answer reads the same way. Type man dig to see the manual for the version you have.
Windows (Command Prompt or PowerShell)
nslookup web.homelab.testnslookup web.homelab.test 10.0.10.53nslookup is built into Windows. Give it a name to ask your default DNS server; add a server's address after the name to ask that server instead, like dig's @. When a lookup fails it says why in words: "Nonexistent domain" means the name doesn't exist, which dig shows as NXDOMAIN. "timed out" means the server didn't respond, and "No response from server" means no DNS server is running there: in dig, both end with "no servers could be reached".
Source: nslookup, Microsoft Learn
Windows PowerShell
Resolve-DnsName web.homelab.testResolve-DnsName web.homelab.test -Server 10.0.10.53Resolve-DnsName does the same job in PowerShell; Microsoft describes it as functionally similar to nslookup. -Server picks which DNS server to ask, like dig's @.
Source: Resolve-DnsName, Microsoft Learn