summaryrefslogtreecommitdiff
path: root/man/1/host
blob: 4d7c1724cc7234e0d5df31b33c8dbe93e945fc47 (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
26
27
.Dd December 1, 2009
.Dt HOST 1
.Os
.Sh NAME
.Nm host
.Nd look up hostnames or IPs
.Sh SYNOPSIS
.Nm
.Op Fl 4
.Op Fl 6
.Op Fl r
.Ar host
.Sh DESCRIPTION
.Nm
looks up
.Ar host
(hostname or IP address) and returns the results, one item per line.
That is, it will either perform a DNS or RDNS lookup, depending on the input.
.Sh OPTIONS
.Bl -tag -width
.It Fl 4
Only perform IPv4 (A) lookups
.It Fl 6
Only perform IPv6 (AAAA) lookups
.It Fl r
Always print the RDNS
.El