summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man1/host.md
blob: c76d15192eb9652a48f2171e870de093693e2782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## Name

host - DNS lookup utility

## Synopsis

```**sh
$ host <name>
```

## Description

`host` is a simple utility for performing DNS lookups. It is used to
convert names to IP addresses and vice versa.

`name` is the domain name that is to be looked up. It can also be a
dotted-decimal IPv4 address, in which case `host` will perform a reverse
lookup for that address.

## Examples

```sh
$ host github.com
$ host 8.8.8.8
```