From owner-freebsd-current@FreeBSD.ORG Tue Oct 24 15:20:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F315916A4CE; Tue, 24 Oct 2006 15:20:25 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id B990443DDD; Tue, 24 Oct 2006 15:19:29 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:/2a+tNnFJOeWyCGX6/EF+b8EjpitV9lzkKrLK9ecvCg7L4DRijplWDrCuWf7jN3s@kasuga-iwi.mahoroba.org [IPv6:2001:2f0:104:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.8/8.13.8) with ESMTP/inet6 id k9OFIVOa046922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Oct 2006 00:18:36 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Wed, 25 Oct 2006 00:18:31 +0900 Message-ID: From: Hajimu UMEMOTO To: "Jiawei Ye" In-Reply-To: References: <20061022095811.GA10743@zaphod.nitro.dk> <1161515330.751.9.camel@localhost> <200610221423.19817.andy@athame.co.uk> <453BFC2A.5010501@FreeBSD.org> <20061023022928.35b7b23c@it.buh.tecnik93.com> <20061024021919.GA74370@xor.obsecurity.org> <453D9B3B.5090000@FreeBSD.org> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.2-PRERELEASE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0rc3 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Wed, 25 Oct 2006 00:18:40 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on ameno.mahoroba.org Cc: Doug Barton , Kris Kennaway , nork@freebsd.org, "Simon L. Nielsen" , freebsd-current@freebsd.org, Joel@freebsd.org, Ion-Mihai IOnut Tetcu Subject: Re: Resolver not always resolving hostnames X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2006 15:20:26 -0000 Hi, >>>>> On Tue, 24 Oct 2006 21:41:44 +0800 >>>>> "Jiawei Ye" said: leafy7382> On 10/24/06, Doug Barton wrote: > > Try applying the patch, and commenting out the options line. The patch > fixes things in what should be a more robust way. > > Doug > > -- > > This .signature sanitized for your protection leafy7382> This is much better. It would be great if this is commited. I've committed it into 7-CURRENT, and I'll MFC it into RELENG_6 after 3 days. The fix should help in certain case. However, it seems doesn't help for nork-san's case. He could reproduce it, and sent me his ktrace output. As far as I can see his output, his local name server (BIND 9.3.2-P1) returned the response with no answer record. As a result, his csup ended up with following error: Name lookup failure for "cvsup.jp.freebsd.org": hostname nor servname provided, or not known I suspect that the BIND9's named have some problem. 3434 csup CALL sendto(0x4,0x808f000,0x26,0,0,0) 3434 csup GIO fd 4 wrote 38 bytes 0x0000 855c 0100 0001 0000 0000 0000 0563 7673 |.\...........cvs| 0x0010 7570 026a 7007 6672 6565 6273 6403 6f72 |up.jp.freebsd.or| 0x0020 6700 0001 0001 |g.....| 3434 csup RET sendto 38/0x26 3434 csup CALL clock_gettime(0,0xbfbfcca8) 3434 csup RET clock_gettime 0 3434 csup CALL kevent(0x3,0xbfbfcda0,0x1,0xbfbfcda0,0x1,0xbfbfcd78) 3434 csup RET kevent 1 3434 csup CALL recvfrom(0x4,0x806f000,0x10000,0,0xbfbfcfc0,0xbfbfcd74) 3434 csup GIO fd 4 read 38 bytes 0x0000 855c 8180 0001 0000 0000 0000 0563 7673 |.\...........cvs| 0x0010 7570 026a 7007 6672 6565 6273 6403 6f72 |up.jp.freebsd.or| 0x0020 6700 0001 0001 |g.....| 3434 csup RET recvfrom 38/0x26 3434 csup CALL close(0x4) 3434 csup RET close 0 3434 csup CALL close(0x3) 3434 csup RET close 0 3434 csup CALL kqueue 3434 csup RET kqueue 3 3434 csup CALL socket(0x2,0x2,0) 3434 csup RET socket 4 3434 csup CALL connect(0x4,0x402b9490,0x10) 3434 csup RET connect 0 3434 csup CALL sendto(0x4,0x808f000,0x35,0,0,0) 3434 csup GIO fd 4 wrote 53 bytes 0x0000 855d 0100 0001 0000 0000 0000 0563 7673 |.]...........cvs| 0x0010 7570 026a 7007 6672 6565 6273 6403 6f72 |up.jp.freebsd.or| 0x0020 670a 6e69 6e74 682d 6e69 6e65 0363 6f6d |g.ninth-nine.com| 0x0030 0000 0100 01 |.....| 3434 csup RET sendto 53/0x35 3434 csup CALL clock_gettime(0,0xbfbfcca8) 3434 csup RET clock_gettime 0 3434 csup CALL kevent(0x3,0xbfbfcda0,0x1,0xbfbfcda0,0x1,0xbfbfcd78) 3434 csup RET kevent 1 3434 csup CALL recvfrom(0x4,0x806f000,0x10000,0,0xbfbfcfc0,0xbfbfcd74) 3434 csup GIO fd 4 read 104 bytes 0x0000 855d 8583 0001 0000 0001 0000 0563 7673 |.]...........cvs| 0x0010 7570 026a 7007 6672 6565 6273 6403 6f72 |up.jp.freebsd.or| 0x0020 670a 6e69 6e74 682d 6e69 6e65 0363 6f6d |g.ninth-nine.com| 0x0030 0000 0100 01c0 2100 0600 0100 0151 8000 |......!......Q..| 0x0040 2703 6e73 31c0 210a 686f 7374 6d61 7374 |'.ns1.!.hostmast| 0x0050 6572 c021 7792 15a4 0000 1c20 0000 0384 |er.!w...... ....| 0x0060 0024 ea00 0001 5180 |.$....Q.| 3434 csup RET recvfrom 104/0x68 3434 csup CALL close(0x4) 3434 csup RET close 0 3434 csup CALL close(0x3) 3434 csup RET close 0 3434 csup CALL break(0x807e000) 3434 csup RET break 0 3434 csup CALL fstat(0x1,0xbfbfdaf0) 3434 csup RET fstat 0 3434 csup CALL ioctl(0x1,TIOCGETA,0xbfbfdb30) 3434 csup RET ioctl 0 3434 csup CALL write(0x1,0x806e000,0x5d) 3434 csup GIO fd 1 wrote 93 bytes "Name lookup failure for "cvsup.jp.freebsd.org": hostname nor servname \ provided, or not known " Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/