blob: 3d4d0575eaf910ef9d30c22a58afa7d22ff228f8 (
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 "r"
.It Fl 4
Only perform IPv4 (A) lookups
.It Fl 6
Only perform IPv6 (AAAA) lookups
.It Fl r
Always print the RDNS
.El
|