From owner-freebsd-questions Wed Aug 28 9:58:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4133037B726 for ; Wed, 28 Aug 2002 09:58:07 -0700 (PDT) Received: from hostname.org (200-161-76-110.dsl.telesp.net.br [200.161.76.110]) by mx1.FreeBSD.org (Postfix) with SMTP id 1B2A143E7B for ; Wed, 28 Aug 2002 09:57:53 -0700 (PDT) (envelope-from fabio@hostname.org) Received: from hostname.org [192.168.1.2] by core.hostname.org Message-ID: <3D6CFF0B.3050503@hostname.org> Date: Wed, 28 Aug 2002 13:49:15 -0300 From: Fabio Yasusi Yamamoto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020605 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: freebsd-bugs@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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-bugs" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message