Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2008 18:48:25 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
Cc:        current@FreeBSD.org
Subject:   Re: resolver change?
Message-ID:  <20080127184656.B60477@fledge.watson.org>
In-Reply-To: <86abmryun9.fsf@ds4.des.no>
References:  <86d4rn1kln.fsf@ds4.des.no> <ygeejc3ck1z.wl%ume@mahoroba.org> <86sl0jywii.fsf@ds4.des.no> <yged4rncetu.wl%ume@mahoroba.org> <86abmryun9.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--621616949-245006364-1201459705=:60477
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE


On Sun, 27 Jan 2008, Dag-Erling Sm=F8rgrav wrote:

> Hajimu UMEMOTO <ume@mahoroba.org> writes:
>> Dag-Erling Sm=F8rgrav <des@des.no> writes:
>>> OK, so the resolver now uses a process-internal cache?  Is there any wa=
y=20
>>> to turn it off?
>> No, our resolver doesn't have a process-internal cache at all.
>
> So what's going on?
>
> Looking back through my logs, it was working correctly as late as January=
=20
> 13, so something broke between then and January 21.

A casual glance suggests no pertinent changes in that timeframe -- however,=
=20
were you just updating your kernel, or also userspace, and in particular,=
=20
libc?

> My name server does *not* forward queries, it goes straight to the source=
=2E=20
> Everything looks fine if I run host(1) multiple times, it only seems to f=
ail=20
> when successive lookups are made from the same process.

What happens if you back out getaddrinfo.c:1.86:

----------------------------
revision 1.86
date: 2007/09/05 18:08:14;  author: jinmei;  state: Exp;  lines: +19 -2
ensure the head entry of addrinfo chain has non-NULL ai_canonname to be
compliant with RFC3493.

PR: standards/114910
Approved by:   ume (mentor)
Approved by:   re
MFC after:     1 week
----------------------------



Robert N M Watson
Computer Laboratory
University of Cambridge
--621616949-245006364-1201459705=:60477--



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