I have a problem with the DNS library in Sunet 2.0 on MacOS X 10.3.2
(Panther). Here is a session demonstrating the problem:
----------
[torre sunet-2.0]% scsh -lm packages.scm
Welcome to scsh 0.6.5 (0.6.6)
Type ,? for help.
> ,open dns
Load structure dns (y/n)? y
[scheme-with-scsh]
[ips lib/ip.scm]
[dns lib/dns.scm]
> (dns-lookup-name "localhost")
Error: exception
(vector-ref '#(#{Message-type unknown} #{Message-type a} #{Message-type
ns} #{Message-type md} #{Message-type mf} #{Message-type cname} ---) 38)
1> ,debug
'#{Exception-continuation (pc 33) (unnamed in parse-rr in dns)}
[0: name] "localhost"
[1: start] '(#\ #\& #\ #\ #\ ---)
[2: start] '(#\. #\
#\ #\& #\ ---)
[3: message] '(#\ #\ #\. #\. #\ ---)
inspect:
----------
It looks like parse-rr doesn't like the message it gets, whose type
has number 38. This type is apparently related to IPV6, and is defined
in RFC 2874 (http://www.faqs.org/rfcs/rfc2874.html).
The funny thing is that the problem only occurs with the "localhost"
name:
----------
> (dns-lookup-name "www.scsh.net")
2248281113
----------
Thanks,
Michel.
|