1 // Copyright (c) The Tor Project, Inc.
2 // See LICENSE for licensing information
3 // This is an asciidoc file used to generate the manpage/html reference.
4 // Learn asciidoc on http://www.methods.co.nz/asciidoc/userguide.html
11 tor-resolve - resolve a hostname to an IP address via tor
15 **tor-resolve** [-4|-5] [-v] [-x] __hostname__ [__sockshost__[:__socksport__]]
19 **tor-resolve** is a simple script to connect to a SOCKS proxy that knows about
20 the SOCKS RESOLVE command, hand it a hostname, and return an IP address.
25 Display verbose output.
28 Perform a reverse lookup: get the PTR record for an IPv4 address.
31 Use the SOCKS5 protocol. (Default)
34 Use the SOCKS4a protocol rather than the default SOCKS5 protocol. Doesn't
39 **tor**(1), **torify**(1). +
41 See doc/socks-extensions.txt in the Tor package for protocol details.
45 Roger Dingledine <arma@mit.edu>, Nick Mathewson <nickm@alum.mit.edu>.