[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Specify reverse DNS



Update of /home/or/cvsroot/tor/doc
In directory moria.mit.edu:/tmp/cvs-serv25164/doc

Modified Files:
	tor-spec.txt 
Log Message:
Specify reverse DNS

Index: tor-spec.txt
===================================================================
RCS file: /home/or/cvsroot/tor/doc/tor-spec.txt,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- tor-spec.txt	1 Mar 2005 22:43:24 -0000	1.79
+++ tor-spec.txt	2 Mar 2005 19:24:15 -0000	1.80
@@ -514,14 +514,16 @@
 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