From owner-cvs-all Thu Jun 15 18:56: 0 2000 Delivered-To: cvs-all@freebsd.org Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (Postfix) with ESMTP id A7EFF37BA65; Thu, 15 Jun 2000 18:55:56 -0700 (PDT) (envelope-from itojun@itojun.org) Received: from kiwi.itojun.org (localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.9.3+3.2W/3.7W/smtpfeed 1.06) with ESMTP id KAA02649; Fri, 16 Jun 2000 10:55:54 +0900 (JST) To: "Andrey A. Chernov" Cc: Hajimu UMEMOTO , alex@big.endian.de, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: ache's message of Thu, 15 Jun 2000 18:52:00 MST. <20000615185200.A40608@freebsd.org> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: cvs commit: src/lib/libc/net res_init.c res_send.c From: itojun@iijlab.net Date: Fri, 16 Jun 2000 10:55:54 +0900 Message-ID: <2647.961120554@coconut.itojun.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >On Fri, Jun 16, 2000 at 05:28:04AM +0900, Hajimu UMEMOTO wrote: >> Now, it is working without /etc/resolv.conf in my box. The fix is >> attached. This patch is for res_init.c with my previous patch >> applied. > >Generally I am not resolver guru to give you good code review. > >There are following possibilities: >1) No /etc/resolv.conf >2) /etc/resolv.conf with several nameservers >2a) /etc/resolv.conf with nameserver 0.0.0.0 > >Just test the code works for IPV4-only kernel and commit, I'll report, if it >broke something. ume, you really want to look at the latest kame libineet6/resolv/. the code is much more conservative about backward compatibility (selecting _res.nsaddr_list and _res_ext.nsaddr_list). make sure to check if nslookup/dig/host work right. they touch struct _res directly and will make it a good torture-test for backward compatibility (not sure if freebsd nslookup uses libc resolver at all). itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message