tor-resolve.1.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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
  5. tor-resolve(1)
  6. ==============
  7. Peter Palfrader
  8. NAME
  9. ----
  10. tor-resolve - resolve a hostname to an IP address via tor
  11. SYNOPSIS
  12. --------
  13. **tor-resolve** [-4|-5] [-v] [-x] __hostname__ [__sockshost__[:__socksport__]]
  14. DESCRIPTION
  15. -----------
  16. **tor-resolve** is a simple script to connect to a SOCKS proxy that knows about
  17. the SOCKS RESOLVE command, hand it a hostname, and return an IP address.
  18. OPTIONS
  19. -------
  20. **-v**::
  21. Display verbose output.
  22. **-x**::
  23. Perform a reverse lookup: get the PTR record for an IPv4 address.
  24. **-5**::
  25. Use the SOCKS5 protocol. (Default)
  26. **-4**::
  27. Use the SOCKS4a protocol rather than the default SOCKS5 protocol. Doesn't
  28. support reverse DNS.
  29. SEE ALSO
  30. --------
  31. **tor**(1), **torify**(1). +
  32. See doc/socks-extensions.txt in the Tor package for protocol details.
  33. AUTHORS
  34. -------
  35. Roger Dingledine <arma@mit.edu>, Nick Mathewson <nickm@alum.mit.edu>.