Sys log question.

Barry Margolin barmar at genuity.net
Tue May 16 14:13:34 UTC 2000


In article <8F35E02E2xyzzy at 207.172.3.46>,
Fred Viles <fv4 at do.whois.fv4.at.internic> wrote:
>Mark.Andrews at nominum.com wrote in
><200005160113.LAA08045 at bsdi.dv.isc.org>: 
>
>>
>>> Hi,
>>> 
>>> Could I get some help with this?
>>> 
>>> 14-May-2000 23:54:50.000 XX+/209.147.72.35/egroups.com\032/MX/IN
>>> 
>>> I think I know most of what this line is telling me but what
>>> does the part "\032" mean?
>>
>>     It means that the last label was "com ".  032 is the decimal
>>     value of space, the backslash indictes that the next
>>     character(s) is to be specially processed.  This is standard
>>     presentation format for a domain name.
>
>Isn't that a normal C-style escape?  In which case \032 would be 
>octal, and mean that the character is actually ctrl-Z?  That seems 
>like it would explain why the lookup fails...

That's what I assumed, but Mark is correct.  When named converts a name to
printable form for logging, it uses RFC 1035 syntax.  See the function
ns_ntop() in src/lib/nameser/ns_name.c.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list