aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/tor-resolve.117
2 files changed, 18 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index d0a0307d2e..83bb0c428d 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,6 +1,6 @@
EXTRA_DIST = tor-spec.txt CLIENTS FAQ HACKING rend-spec.txt tor-doc.html tor-doc.css
-man_MANS = tor.1
+man_MANS = tor.1 tor-resolve.1
SUBDIRS = design-paper
diff --git a/doc/tor-resolve.1 b/doc/tor-resolve.1
new file mode 100644
index 0000000000..9c25f4475d
--- /dev/null
+++ b/doc/tor-resolve.1
@@ -0,0 +1,17 @@
+.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
+\fBtor-resolve\fP\ [-4|-5] \fIhostname\fP\ [\fIsockshost\fP[:\fIsocksport]\fP]
+
+.SH DESCRIPTION
+\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
+an IP address.
+
+.SH SEE ALSO
+.BR tor (1),
+.BR torify (1).