On Thu, Feb 17, 2005 at 08:14:26PM +0100, Andreas Krennmair wrote:
20:04:20.072198 192.168.23.6.1561 > 192.168.23.3.domain: 33126+ A? newszilla6.xs4all.nl.home. (43) (DF)
20:04:20.073317 192.168.23.3.domain > 192.168.23.6.1561: 33126 NXDomain* 0/0/0 (43) (DF)
Are you sure that your system is correctly configured to resolve IPv6 hostnames? Leafnode is using gethostbyname() to resolve the server address which ought to be returning IPv6 addresses just as happily as IPv4.
You are right, my system wasn't configured correctly (resolv.conf was missing the options inet6 ...), and now it does AAAA requests before it does A requests, but there are still problems:
#v+ socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 6 connect(6, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.23.3")}, 28) = 0 send(6, "\36\234\1\0\0\1\0\0\0\0\0\0\nnewszilla6\6xs4all\2n"..., 38, 0) = 38 gettimeofday({1108727975, 573504}, NULL) = 0 poll([{fd=6, events=POLLIN, revents=POLLIN}], 1, 5000) = 1 ioctl(6, FIONREAD, [66]) = 0 recvfrom(6, "\36\234\201\200\0\1\0\1\0\0\0\0\nnewszilla6\6xs4all\2n"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.23.3")}, [16]) = 66 close(6) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigaction(SIGALRM, {0x80590a0, [], SA_ONESHOT|SA_NOCLDSTOP}, NULL, 8) = 0 alarm(30) = 0 connect(6, {sa_family=AF_INET6, sin6_port=htons(119), inet_pton(AF_INET6, "::6040:eab7:400:0", &sin6_addr), sin6_flowinfo=2282225952, sin6_scope_id=17707}, 16) = -1 EAFNOSUPPORT (Address family not supported by protocol) #v-
Here's what the resolver does: #v+ 13:04:10.949476 192.168.23.6.1637 > 192.168.23.3.domain: 61129+ AAAA? newszilla6.xs4all.nl. (38) (DF) 13:04:10.950693 192.168.23.3.domain > 192.168.23.6.1637: 61129 1/0/0 AAAA newszilla6.xs4all.nl (66) (DF) 13:04:10.961646 192.168.23.6.1637 > 192.168.23.3.domain: 61130+ PTR? 9.1.1.0.0.0.0.0.0.0.0.0.0.0.0.0.4.0.0.0.0.0.0.0.8.8.8.0.1.0.0.2.ip6.arpa. (90) (DF) 13:04:10.964385 192.168.23.3.domain > 192.168.23.6.1637: 61130 1/0/0 PTR newszilla6.xs4all.nl. (124) (DF) #v-
What looks strange to me is the address in the inet_pton call (newszilla6.xs4all.nl resolves to 2001:888:0:4::119, and programs like telnet -6 get it right), and the sin6_flowinfo and sin6_scope_id parameters. What is also strange is the output that fetchnews brings:
#v+
$ fetchnews -vvv
leafnode 1.10.8.rel: verbosity level is 3, debugmode is 0
try_lock(timeout=5), fqdn="andi.hat.mehrpower.at"
news.individual.de: connecting to port nntp...
warning: news.individual.de: connection to 0.0.0.0 failed: Address family not supported by protocol
news.individual.de: address list exhausted without establishing connection.
news.individual.de: connection failed.
news.tahina.priv.at: connecting to port nntp...
warning: news.tahina.priv.at: cannot resolve host name: Unexpected permanent server failure.
news.tahina.priv.at: connection failed.
news.gmane.org: connecting to port nntp...
warning: news.gmane.org: cannot resolve host name: Unexpected permanent server failure.
news.gmane.org: connection failed.
news.tugraz.at: connecting to port nntp...
warning: news.tugraz.at: connection to 0.0.0.0 failed: Address family not supported by protocol
news.tugraz.at: address list exhausted without establishing connection.
news.tugraz.at: connection failed.
newszilla6.xs4all.nl: connecting to port nntp...
warning: newszilla6.xs4all.nl: connection to 32.1.8.136 failed: Address family not supported by protocol
newszilla6.xs4all.nl: address list exhausted without establishing connection.
newszilla6.xs4all.nl: connection failed.
WARNING: some servers have not been queried!
wrote active file with 31160 lines
Started process to update overview data in the background.
Network activity has finished.
$ #v-
Regards, Andreas Krennmair
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]