From owner-freebsd-stable Mon Aug 26 21: 5:14 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5A0037B406 for ; Mon, 26 Aug 2002 21:05:04 -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 3E65943E6A for ; Mon, 26 Aug 2002 21:05:03 -0700 (PDT) (envelope-from freebsd@hostname.org) Received: from hostname.org [192.168.1.2] by core.hostname.org Message-ID: <3D6AFAA4.7050809@hostname.org> Date: Tue, 27 Aug 2002 01:05:56 -0300 From: Fabio 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-bugs , freebsd-stable Subject: Jail bug? - ADNS - sendto( EINVAL ) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@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-stable" in the body of the message