scsh-users
[Top] [All Lists]

sunet 2.0: problem with dns.scm on MacOS X 10.3.2

To: scsh@zurich.csail.mit.edu
Subject: sunet 2.0: problem with dns.scm on MacOS X 10.3.2
From: Michel Schinz <Michel.Schinz@epfl.ch>
Date: Mon, 19 Jan 2004 21:30:04 +0100
Cancel-lock: sha1:5b0EJodT6WfOTeFDGu1ZWk5UyA0=
Sender: news <news@sea.gmane.org>
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.


<Prev in Thread] Current Thread [Next in Thread>
  • sunet 2.0: problem with dns.scm on MacOS X 10.3.2, Michel Schinz <=