1TOR-RESOLVE(1)                    Tor Manual                    TOR-RESOLVE(1)
2
3
4

NAME

6       tor-resolve - resolve a hostname to an IP address via tor
7

SYNOPSIS

9       tor-resolve [-4|-5] [-v] [-x] [-p socksport] hostname
10       [sockshost[:socksport]]
11

DESCRIPTION

13       tor-resolve is a simple script to connect to a SOCKS proxy that knows
14       about the SOCKS RESOLVE command, hand it a hostname, and return an IP
15       address.
16
17       By default, tor-resolve uses the Tor server running on 127.0.0.1 on
18       SOCKS port 9050. If this isn’t what you want, you should specify an
19       explicit sockshost and/or socksport on the command line.
20

OPTIONS

22       -v
23           Display verbose output.
24
25       -x
26           Perform a reverse lookup: get the PTR record for an IPv4 address.
27
28       -5
29           Use the SOCKS5 protocol. (Default)
30
31       -4
32           Use the SOCKS4a protocol rather than the default SOCKS5 protocol.
33           Doesn’t support reverse DNS.
34
35       -p socksport
36           Override the default SOCKS port without setting the hostname.
37

SEE ALSO

39       tor(1), torify(1).
40
41       For protocol details, see: https://spec.torproject.org/socks-extensions
42

AUTHOR

44       Peter Palfrader
45           Author.
46
47
48
49Tor                               05/07/2021                    TOR-RESOLVE(1)
Impressum