The Host command is a built-in utility software with a command-line interface that you can find on Linux or macOS and serves for network diagnostics. The most common use of Host command is to perform DNS lookups and find different information about a domain name and its DNS records. Host command syntax!