Date: Tue, 27 Aug 2002 01:05:56 -0300 From: Fabio Yamamoto <freebsd@hostname.org> To: freebsd-bugs <freebsd-bugs@freebsd.org>, freebsd-stable <freebsd-stable@freebsd.org> Subject: Jail bug? - ADNS - sendto( EINVAL ) Message-ID: <3D6AFAA4.7050809@hostname.org>
next in thread | raw e-mail | index | archive | help
Hi
I'm having a strange problem with ADNS.
I'm using ADNS in a jailed enviroment to find MX records, and when i try
to resolve a domain, it fails.
The ADNS library send the first sendto() to a dns. end get the response.
But it fails on the second, third.... attempts.
Any ideias?
---
gettimeofday({1030417226, 628514}, NULL) = 0
sendto(3, "1\37\1\0\0\1\0\0\0\0\0\0\3aol\3com\0\0\17\0\1", 25, 0,
{sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("200.161.76.110")}}, 16) = 25
gettimeofday({1030417226, 638776}, NULL) = 0
recvfrom(3,
"1\37\201\200\0\1\0\4\0\4\0\4\3aol\3com\0\0\17\0\1\300\f"..., 512, 0,
{sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("200.161.76.110")}}, [16]) = 283
sendto(3, "1 \1\0\0\1\0\0\0\0\0\0\tmailin-04\2mx\3aol\3co"..., 38, 0,
{sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("200.161.76.110")}}, 16) = -1 EINVAL (Invalid argument)
write(2, "adns warning: ", 14adns warning: ) = 14
write(2, "sendto failed: Invalid argument", 31sendto failed: Invalid
argument) = 31
write(2, " (NS=200.161.76.110", 19 (NS=200.161.76.110) = 19
write(2, ")\n", 2)
) = 2
sendto(3, "1!\1\0\0\1\0\0\0\0\0\0\tmailin-01\2mx\3aol\3co"..., 38, 0,
{sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("200.161.76.110")}}, 16) = -1 EINVAL (Invalid argument)
write(2, "adns warning: ", 14adns warning: ) = 14
write(2, "sendto failed: Invalid argument", 31sendto failed: Invalid
argument) = 31
write(2, " (NS=200.161.76.110", 19 (NS=200.161.76.110) = 19
write(2, ")\n", 2)
) = 2
sendto(3, "1\"\1\0\0\1\0\0\0\0\0\0\tmailin-02\2mx\3aol\3co"..., 38, 0,
{sin_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("200.161.76.110")}}, 16) = -1 EINVAL (Invalid argument)
write(2, "adns warning: ", 14adns warning: ) = 14
write(2, "sendto failed: Invalid argument", 31sendto failed: Invalid
argument) = 31
write(2, " (NS=200.161.76.110", 19 (NS=200.161.76.110) = 19
write(2, ")\n", 2)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D6AFAA4.7050809>
