aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-02 19:24:15 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-02 19:24:15 +0000
commit06a574b0c95b332b01aa8beb30bfb8237c1f7747 (patch)
treeeb26c44801835aceb822e88ed5c9476daf735bcc
parente14f812a67e2816dc3fb9b8fcc2bf83fb8d93559 (diff)
downloadtor-06a574b0c95b332b01aa8beb30bfb8237c1f7747.tar.gz
tor-06a574b0c95b332b01aa8beb30bfb8237c1f7747.zip
Specify reverse DNS
svn:r3724
-rw-r--r--doc/tor-spec.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/tor-spec.txt b/doc/tor-spec.txt
index 3657cd550a..c15d7b75c2 100644
--- a/doc/tor-spec.txt
+++ b/doc/tor-spec.txt
@@ -514,14 +514,16 @@ TODO: (very soon)
5.4. Remote hostname lookup
To find the address associated with a hostname, the OP sends a
- RELAY_RESOLVE cell containing the hostname to be resolved. The OR
- replies with a RELAY_RESOLVED cell containing a status byte, and any
- number of answers. Each answer is of the form:
+ RELAY_RESOLVE cell containing the hostname to be resolved. (For a reverse
+ lookup, the OP sends a RELAY_RESOLVE cell containing an in-addr.arpa
+ address.) The OR replies with a RELAY_RESOLVED cell containing a status
+ byte, and any number of answers. Each answer is of the form:
Type (1 octet)
Length (1 octet)
Value (variable-width)
"Length" is the length of the Value field.
"Type" is one of:
+ 0x00 -- Hostname
0x04 -- IPv4 address
0x06 -- IPv6 address
0xF0 -- Error, transient