Commit | Line | Data |
---|---|---|
b4588d5c GP |
1 | .TH dnsname 1 |
2 | ||
3 | .SH NAME | |
4 | dnsname \- does a reverse lookup for the IP address | |
5 | ||
6 | .SH SYNOPSIS | |
7 | .B dnsname | |
8 | .I a.b.c.d | |
9 | ||
10 | .SH DESCRIPTION | |
11 | .B dnsname | |
12 | does a reverse lookup for the IP address | |
13 | .IR a.b.c.d . | |
14 | It prints the first domain name for that address. | |
15 | If no domain names are listed in DNS, | |
16 | .B dnsname | |
17 | prints a blank line. | |
18 | You can list several IP addresses; | |
19 | .B dnsname | |
20 | prints each result on a separate line. | |
21 | ||
22 | There is also a | |
23 | .BR dnsfilter (1) | |
24 | program | |
25 | that reads IP addresses from its input | |
26 | and performs many reverse lookups in parallel. | |
27 | ||
28 | Normally | |
29 | .B dnsname | |
30 | exits 0. | |
31 | If | |
32 | .B dnsname | |
33 | encounters a temporary problem | |
34 | that prevents it from determining the domain name, | |
35 | it prints an error message and exits 111. | |
36 | ||
37 | .SH SEE ALSO | |
38 | dnsip(1), | |
39 | dnsipq(1), | |
40 | dnsmx(1), | |
41 | dnstxt(1), | |
42 | dnsqr(1), | |
43 | dnsq(1), | |
44 | dnstrace(1) | |
45 | ||
46 | http://cr.yp.to/djbdns.html |