Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2000 10:55:54 +0900
From:      itojun@iijlab.net
To:        "Andrey A. Chernov" <ache@freebsd.org>
Cc:        Hajimu UMEMOTO <ume@mahoroba.org>, alex@big.endian.de, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/net res_init.c res_send.c
Message-ID:  <2647.961120554@coconut.itojun.org>
In-Reply-To: ache's message of Thu, 15 Jun 2000 18:52:00 MST. <20000615185200.A40608@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2647.961120554>