Nslookup is one very simple network tool, but with the big advantage that it comes pre-built on almost any OS, including different Linux distros, macOS, other Unix-based OSes, and Windows too.
You can use it for different network diagnostics and domain probing, but the 5 most popular nslookup commands are these: