tor-resolve.1 909 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .TH tor-resolve 1 "" Aug-2004 ""
  2. .\" manual page by Peter Palfrader
  3. .SH NAME
  4. .LP
  5. tor-resolve \- resolve a hostname to an IP address via tor
  6. .SH SYNOPSIS
  7. \fBtor-resolve\fP\ [-4|-5] [-v] [-x] \fIhostname\fP\ [\fIsockshost\fP[:\fIsocksport]\fP]
  8. .SH DESCRIPTION
  9. \fBtor-resolve\fR is a simple script to connect to a SOCKS proxy that
  10. knows about the SOCKS RESOLVE command, hand it a hostname, and return
  11. an IP address.
  12. .SH OPTIONS
  13. \fB-v \fP
  14. Display verbose output.
  15. .LP
  16. .TP
  17. \fB-x\fP
  18. Perform a reverse lookup: get the PTR record for an IPv4 address.
  19. .LP
  20. .TP
  21. \fB-5\fP
  22. Use the SOCKS5 protocol. (Default)
  23. .LP
  24. .TP
  25. \fB-4\fP
  26. Use the SOCKS4a protocol rather than the default SOCKS5 protocol. Doesn't
  27. support reverse DNS.
  28. .SH SEE ALSO
  29. .BR tor (1),
  30. .BR torify (1).
  31. .PP
  32. See doc/socks-extensions.txt in the Tor package for protocol details.
  33. .SH AUTHORS
  34. Roger Dingledine <arma@mit.edu>, Nick Mathewson <nickm@alum.mit.edu>.