🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36211

Re: Unwanted connections from ctl.f10.com

#36211
From: Per Hedeland
Date: Sat, 27 Mar 1999 00:00
32 lines
2146 bytes
In article <yl90cmsb09.fsf@windlord.stanford.edu> Russ Allbery
<rra@stanford.edu> writes:
>Brad Knowles <brad@shub-internet.org> writes:
>> Terry Kennedy <terry@spcunb.spc.edu> wrote:
>
>>> INN pre-loads the DNS translations when it starts, but doesn't remember
>>> that a translation wasn't possible. When I reported this to the INN
>>> folks, their comment was that it was too inefficient to query the
>>> nameserver each time (never mind that other news packages do it).
>
>> Seeing as Russ is on this newsgroup, perhaps this is something we can
>> get changed?  ;-)
>
>Patches would be gratefully accepted, I'm sure, but I wouldn't want to run
>without any caching at all.  So I'd say that the patch would need to
>either make it an inn.conf option, or would need to take the harder route
>of maintaining a fast-expiring internal cache.

The problem is of course that a DNS lookup can take a *very* long time,
the standard resolver interface is synchronous, and you don't want innd
sitting idle waiting for the lookup to complete while the incoming news
piles up... I guess this is yet another thing that shouldn't be in the
main loop but in a separate process (like with e.g. Squid or (x)ntpd) -
it could just keep doing periodic lookups and reporting any changes to
innd via the control channel (while innd cached the results "forever"
like it does now).

--Per Hedeland
per@erix.ericsson.se


Technical Details
Message-ID: <7djonu$nkk$1@news.du.etx.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7d0j7j$1num$1@thor.wirehub.nl> <F941MH.MBr@spcuna.spc.edu> <brad-2403991950410001@brad.techos.skynet.be> <yl90cmsb09.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <7djonu$nkk$1@news.du.etx.ericsson.se>
Subject: Re: Unwanted connections from ctl.f10.com
Date: Sat, 27 Mar 1999 00:00:00 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <7d0j7j$1num$1@thor.wirehub.nl> <F941MH.MBr@spcuna.spc.edu> <brad-2403991950410001@brad.techos.skynet.be> <yl90cmsb09.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 459833040
Organization: Ericsson Utvecklings AB, Stockholm, Sweden
Newsgroups: news.software.nntp
NNTP-Posting-User: per