Make SIGNAL DUMP work on FreeBSD
[tor/rransom.git] / doc / tor-resolve.1
blob3987095dbb2f2ab4cb90b6f08f1119d8dd757c97
1 .TH tor-resolve 1 "" Aug-2004 ""
2 .\" manual page by Peter Palfrader
3 .SH NAME
4 .LP
5 tor-resolve \- resolve a hostname to an IP address via tor
7 .SH SYNOPSIS
8 \fBtor-resolve\fP\ [-4|-5] [-v] [-x] \fIhostname\fP\ [\fIsockshost\fP[:\fIsocksport]\fP]
10 .SH DESCRIPTION
11 \fBtor-resolve\fR is a simple script to connect to a SOCKS proxy that
12 knows about the SOCKS RESOLVE command, hand it a hostname, and return
13 an IP address.
14 .SH OPTIONS
15 \fB-v \fP
16 Display verbose output.
17 .LP
18 .TP
19 \fB-x\fP
20 Perform a reverse lookup: get the PTR record for an IPv4 address.
21 .LP
22 .TP
23 \fB-5\fP
24 Use the SOCKS5 protocol. (Default)
25 .LP
26 .TP
27 \fB-4\fP
28 Use the SOCKS4a protocol rather than the default SOCKS5 protocol.  Doesn't
29 support reverse DNS.
31 .SH SEE ALSO
32 .BR tor (1),
33 .BR torify (1).
34 .PP
35 See doc/socks-extensions.txt in the Tor package for protocol details.
37 .SH AUTHORS
38 Roger Dingledine <arma@mit.edu>, Nick Mathewson <nickm@alum.mit.edu>.