🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50605

Re: No reverse lookup with INN

#50605
From: Russ Allbery
Date: Wed, 14 Feb 2001 17:18
24 lines
1983 bytes
Jean-Eric Cuendet <jean-eric.cuendet@linkvest.com> writes:

> I have a news server with INN in DMZ, so without access to our internal
> DNS.  The machine that are connecting are 10.x.x.x addressed.  The
> problem is that INN is very slow (until 40 seconds) to post or retrieve
> due to reverse lookup failing.  Is it possible to stop the reverse
> lookup in INN?

After running configure, edit include/config.h and comment out:

/* Define if nnrpd should resolve client IP addresses to names.  If you only
   use IP-based restrictions in readers.conf and can handle IP addresses in
   your logs, not defining this may result in some additional speed. */
#define DO_NNRP_GETHOSTBYADDR

Eventually this will be an option somewhere but for right now it's a
compile-time constant.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylvgqdgp3d.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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <3A8AB3BE.E837C44D@linkvest.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylvgqdgp3d.fsf@windlord.stanford.edu>
Subject: Re: No reverse lookup with INN
Date: Wed, 14 Feb 2001 17:18:46 +0000
From: Russ Allbery <rra@stanford.edu>
References: <3A8AB3BE.E837C44D@linkvest.com>
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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 23
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 982171126 28847 171.64.13.23 (14 Feb 2001 17:18:46 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)