2004-08-15 10:12:56 +02:00
|
|
|
.TH tor-resolve 1 "" Aug-2004 ""
|
|
|
|
.\" manual page by Peter Palfrader
|
|
|
|
.SH NAME
|
|
|
|
.LP
|
|
|
|
tor-resolve \- resolve a hostname to an IP address via tor
|
|
|
|
|
|
|
|
.SH SYNOPSIS
|
2006-12-26 23:41:49 +01:00
|
|
|
\fBtor-resolve\fP\ [-4|-5] [-v] [-x] \fIhostname\fP\ [\fIsockshost\fP[:\fIsocksport]\fP]
|
2004-08-15 10:12:56 +02:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
2004-12-21 06:43:17 +01:00
|
|
|
\fBtor-resolve\fR is a simple script to connect to a SOCKS proxy that
|
|
|
|
knows about the SOCKS RESOLVE command, hand it a hostname, and return
|
2004-08-15 10:12:56 +02:00
|
|
|
an IP address.
|
2006-12-26 23:41:49 +01:00
|
|
|
.SH OPTIONS
|
|
|
|
\fB-v \fP
|
|
|
|
Display verbose output.
|
|
|
|
.LP
|
|
|
|
.TP
|
|
|
|
\fB-x\fP
|
|
|
|
Perform a reverse lookup: get the PTR record for an IPv4 address.
|
|
|
|
.LP
|
|
|
|
.TP
|
|
|
|
\fB-5\fP
|
|
|
|
Use the SOCKS5 protocol. (Default)
|
|
|
|
.LP
|
|
|
|
.TP
|
|
|
|
\fB-4\fP
|
|
|
|
Use the SOCKS4a protocol rather than the default SOCKS5 protocol. Doesn't
|
|
|
|
support reverse DNS.
|
2006-11-27 12:06:38 +01:00
|
|
|
|
2004-08-15 10:12:56 +02:00
|
|
|
.SH SEE ALSO
|
|
|
|
.BR tor (1),
|
|
|
|
.BR torify (1).
|
2006-12-26 23:41:49 +01:00
|
|
|
.PP
|
|
|
|
See doc/socks-extensions.txt in the Tor package for protocol details.
|
|
|
|
|
|
|
|
.SH AUTHORS
|
|
|
|
Roger Dingledine <arma@mit.edu>, Nick Mathewson <nickm@alum.mit.edu>.
|