From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 1 09:35:04 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 031B916A415 for ; Fri, 1 Dec 2006 09:35:04 +0000 (UTC) (envelope-from eldar@tusur.ru) Received: from ms.tusur.ru (ms.tusur.ru [217.79.57.135]) by mx1.FreeBSD.org (Postfix) with SMTP id 718AC43CA6 for ; Fri, 1 Dec 2006 09:34:48 +0000 (GMT) (envelope-from eldar@tusur.ru) Received: from ms.tusur.ru (ms [217.79.57.135]) by ms.tusur.ru (Postfix) with ESMTP id 137FD1DF012 for ; Fri, 1 Dec 2006 15:34:56 +0600 (TSK) Received: from [192.168.1.2] (pppoe-69.50.110.89-adsl.spbnit.ru [89.110.50.69]) by ms.tusur.ru (Postfix) with ESMTP id 886D71DE44C for ; Fri, 1 Dec 2006 15:34:55 +0600 (TSK) Message-ID: <456FF73B.8020305@tusur.ru> Date: Fri, 01 Dec 2006 12:34:51 +0300 From: "Eldar T. Zaitov" User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: 200609181750.58145.jhb@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Virus-Scanned: ms.tusur.ru Subject: jail2 patchset 14 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2006 09:35:04 -0000 Have tried Jail2 patchset #14 on 6.2-PRERELEASE, everything compiles and works ok, but resolve. gethostbyname always returns NULL, but host/dig works ok. here's an example: virtual# host mail.ru mail.ru has address 194.67.57.26 mail.ru mail is handled by 10 mxs.mail.ru. virtual# ping mail.ru ping: cannot resolve mail.ru: Host name lookup failure here is some truss output of 'ping mail.ru': kqueue() = 4 (0x4) socket(PF_INET,SOCK_DGRAM,0) = 5 (0x5) connect(5,{ AF_INET ***.62.171.***:53 },16) ERR#22 'Invalid argument' close(5) = 0 (0x0) socket(PF_INET,SOCK_DGRAM,0) = 5 (0x5) connect(5,{ AF_INET ***.62.171.***:53 },16) ERR#22 'Invalid argument' close(5) = 0 (0x0) close(4) = 0 (0x0) where ***.62.171.***:53 is nameserver; *** is masked ip nodes; may be I've forgotten something? thank you.