summaryrefslogtreecommitdiff
path: root/man/1/host
blob: 3d37afc49a86231f416475af42b1bb60127f3d33 (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
.Dd December 1, 2009
.Dt HOST 1
.Os
.Sh NAME
.Nm host
.Nd look up hostnames or IPs
.Sh SYNOPSIS
.Nm
.Op Fl 46r
.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