> For the complete documentation index, see [llms.txt](https://kyou00.gitbook.io/xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kyou00.gitbook.io/xyz/commands/view/linux/dns/host.md).

# host

```
# This will show you the CNAME of the DNS
host inlanefreight.com
```

```
# This will specify the ns or nameserver
host -t ns inlanefreight.htb

# Then
host -l inlanefreight.htb ns1.inlanefreight.htb.
```

```
# This will specify the mx server
host -t mx inlanefreight.com
```

```
# This will specify the A records or the ipv4
host -t A google.com
```
