From owner-freebsd-net Sun Dec 6 13:00:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03754 for freebsd-net-outgoing; Sun, 6 Dec 1998 13:00:26 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from poboxer.pobox.com (port95.prairietech.net [208.141.230.95] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03747 for ; Sun, 6 Dec 1998 13:00:22 -0800 (PST) (envelope-from alk@poboxer.pobox.com) Received: (from alk@localhost) by poboxer.pobox.com (8.9.1/8.9.1) id OAA52504; Sun, 6 Dec 1998 14:59:06 -0600 (CST) (envelope-from alk) From: Tony Kimball MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 6 Dec 1998 14:59:05 -0600 (CST) X-Face: \h9Jg:Cuivl4S*UP-)gO.6O=T]]@ncM*tn4zG);)lk#4|lqEx=*talx?.Gk,dMQU2)ptPC17cpBzm(l'M|H8BUF1&]dDCxZ.c~Wy6-j,^V1E(NtX$FpkkdnJixsJHE95JlhO 5\M3jh'YiO7KPCn0~W`Ro44_TB@&JuuqRqgPL'0/{):7rU-%.*@/>q?1&Ed Reply-To: alk@pobox.com To: net@FreeBSD.ORG Subject: Re: resolver behaviour References: <13930.17883.922553.625725@avalon.east> <48026.912946905@gjp.erols.com> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13930.53261.509843.979179@avalon.east> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Quoth Gary Palmer on Sun, 6 December: : Tony Kimball wrote in message ID : <13930.17883.922553.625725@avalon.east>: : > Frankly, the current behaviour is just plain broken: Bum nameservers : > too often prevent FreeBSD applications from connecting to extant : > hosts on the Internet. : : If the local nameserver is bum, then that suggests a local administrative : failure, does it not? This is exactly the situation you are describing ... the : local nameserver that the resolver contacts cannot find the information it is : looking for. I'm talking about bad nameservers on the Internet at large. : If, on the other hand, the local nameserver cannot find : authoratitive information from a *NON-LOCALLY* hosted zone, then that is a : failure which no ammout of hackery in libc will be able to overcome because in : all likelyhood the data you are looking for just *doesn't* exist, because of a : remote administrative failure. The data does exist, just not on all nameservers. : Slowing down the applications acceptance of : that fact will do nothing to help The slow-down can be very small relative to human perception while being quite long enough to avoid the 'packet storm' bugaboo -- actually I don't see the 'packet storm' because there is no cascade effect -- at this point I'm talking about behaviour of an application using gethostby*, not about named behaviour. : if you did this change in the : environment I run at work, that is *exactly* what would happen. We'd have : sendmail processes hanging around `n' times longer than they should have, : because our nameserver setup *works*. No, that is misleading at best. If you are sending mail to a name that resolves, your sendmail process would not be delayed at all. If you are sending mail to a name that resolves on a fallback server only, with a bogus record on your primary server, the mail would get through, as opposed to failing. The only case in which a longer delay would result is If you are sending mail to a bogus hostname, which is a very odd and rare case indeed! In that case it would take not N*M as you imply, but N*F+M, where F< But this only pushes the problem out one level, to named. : : I don't follow. You tell named that data for `x' is found on `x's namesevrer, : and data for everything else is found on `y's nameserver, and it works. Thats : how named is designed to work! It is *not* how libresolv is designed to work! Named will try a server, get a negative response, and return a negative response, just like gethostby*. The problem still exists. I can configure named correctly, even with Archie's expanded function (which is not really relevant to this particular problem), and unless I provide gethostby* with alternate service, the lookup will still fail, while it should succeed because it could succeed if only it were applied to the alternate server. The problem still exists because it has not been addressed. : > Archie's patch then fixes the problem. (I'd like to see that patch in : > current!) : : If it goes in -current, then it had better be off by default. I firmly believe : that this is a negatively impacting change for the majority of freebsd users : out there. You might easily have been misled by the fact that my earlier mail discussed two distinct problems, often switching back and forth between them, for which I apologize. Archie's patch does not address the problem of cache-polluted or otherwise corrupt name server information. It merely allows the dns administrator to specify forwarding servers on a per-zone basis. This is new optional functionality. The problem which it fixes is not the same problem that I discuss in the context of gethostby*. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message