TOR-RESOLVE(1)
β¨ TOR-RESOLVE(1) β¨
okay bestie, welcome to the tor-resolve page, part of the Tor Manual family π this is the little tool that takes a hostname and poof hands you back an IP address, all without ever leaving the cozy blanket fort that is Tor.
π NAME π
tor-resolve β resolve a hostname to an IP address via tor πΈ
π¦ SYNOPSIS π¦
tor-resolve [-4|-5] [-v] [-x] [-p socksport] hostname
[sockshost[:socksport]]
π DESCRIPTION π
tor-resolve is a simple script, no cap. It connects to a SOCKS proxy that knows about the SOCKS RESOLVE command, hands it a hostname, and gives you back an IP address. that's it, that's the whole arc, and honestly? iconic. π₯
By default, tor-resolve uses the Tor server running on 127.0.0.1 on SOCKS port 9050. If that's not the vibe you're going for, you should specify an explicit sockshost and/or socksport on the command line. periodt. π
π OPTIONS π
-vβ Display verbose output. she's chatty, she's telling you everything π-xβ Perform a reverse lookup: get the PTR record for an IPv4 address. going backwards for no reason, love that journey for you π¦-5β Use the SOCKS5 protocol. (Default) β this is the main character, the one that's on by default β¨-4β Use the SOCKS4a protocol rather than the default SOCKS5 protocol. Doesn't support reverse DNS. π« so like, if you wanted a reverse lookup, this one is NOT the one, bestie-psocksport β Override the default SOCKS port without setting the hostname. just the port swap, nothing else changes π
π«Ά SEE ALSO π«Ά
For protocol details, see: https://spec.torproject.org/socks-extensions β go read it, the lore is deep πβ¨
π AUTHOR π
Peter Palfrader
- Author. (yes literally, that's the whole credit bestie π )
and that's the whole manual!! this page is from Tor, dated 10/28/2026 β tysm for reading, mwah, go resolve something cute πππ§
π¦ where this page comes from
- alpine 3.24: tor-doc 0.4.9.15-r0 Β· BSD-3-Clause AND GPL-3.0-only
- debian trixie: tor 0.4.9.15-0+deb13u1
- nixos 26.05: tor 0.4.9.15
- nixpkgs unstable: tor 0.4.9.15
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms