aboutsummaryrefslogtreecommitdiff
path: root/doc/tor-resolve.1.txt
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-01-19 14:51:10 +0100
committerSebastian Hahn <sebastian@torproject.org>2010-01-27 12:13:10 +0100
commitce860d8efd73526469ba1de3e8e3665312594940 (patch)
treecad1eb4199bfd056b344a62d4d14a7ffd8d0aa45 /doc/tor-resolve.1.txt
parent59a9908f66495bb707f9bfe7aca02041f9af1bb7 (diff)
downloadtor-ce860d8efd73526469ba1de3e8e3665312594940.tar
tor-ce860d8efd73526469ba1de3e8e3665312594940.tar.gz
Convert the tor-resolve manpage to asciidoc
Diffstat (limited to 'doc/tor-resolve.1.txt')
-rw-r--r--doc/tor-resolve.1.txt45
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/tor-resolve.1.txt b/doc/tor-resolve.1.txt
new file mode 100644
index 000000000..eb519667b
--- /dev/null
+++ b/doc/tor-resolve.1.txt
@@ -0,0 +1,45 @@
+// Copyright (c) The Tor Project, Inc.
+// See LICENSE for licensing information
+// This is an asciidoc file used to generate the manpage/html reference.
+// Learn asciidoc on http://www.methods.co.nz/asciidoc/userguide.html
+tor-resolve(1)
+==============
+Peter Palfrader
+
+NAME
+----
+tor-resolve - resolve a hostname to an IP address via tor
+
+SYNOPSIS
+--------
+**tor-resolve** [-4|-5] [-v] [-x] __hostname__ [__sockshost__[:__socksport__]]
+
+DESCRIPTION
+-----------
+**tor-resolve** 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.
+
+OPTIONS
+-------
+**-v**::
+ Display verbose output.
+
+**-x**::
+ Perform a reverse lookup: get the PTR record for an IPv4 address.
+
+**-5**::
+ Use the SOCKS5 protocol. (Default)
+
+**-4**::
+ Use the SOCKS4a protocol rather than the default SOCKS5 protocol. Doesn't
+ support reverse DNS.
+
+SEE ALSO
+--------
+**tor**(1), **torify**(1). +
+
+See doc/socks-extensions.txt in the Tor package for protocol details.
+
+AUTHORS
+-------
+Roger Dingledine <arma@mit.edu>, Nick Mathewson <nickm@alum.mit.edu>. \ No newline at end of file