🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Jean-Eric Cuendet Wed, 14 Feb 2001 16:35
No reverse lookup with INN
#50601
Author: Jean-Eric Cuendet
Date: Wed, 14 Feb 2001 16:35
13 lines
1386 bytes
Hi,
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?

Thanks
-jec

Re: No reverse lookup with INN
#50605
Author: 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.
Re: No reverse lookup with INN
#50612
Author: Jeffrey M. Vinocur
Date: Thu, 15 Feb 2001 00:14
15 lines
1371 bytes
In article <ylvgqdgp3d.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>
>#define DO_NNRP_GETHOSTBYADDR
>
>Eventually this will be an option somewhere but for right now it's a
>compile-time constant.

I needed some stress relief.  Sending to inn-patches in a minute.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: No reverse lookup with INN
#50615
Author: Russ Allbery
Date: Thu, 15 Feb 2001 00:37
18 lines
1575 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>> #define DO_NNRP_GETHOSTBYADDR

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

> I needed some stress relief.  Sending to inn-patches in a minute.

Thanks!  You rock.  *grin*

-- 
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.
Re: No reverse lookup with INN
#51013
Author: bill davidsen
Date: Tue, 06 Mar 2001 16:52
23 lines
2122 bytes
In article <3A8AB3BE.E837C44D@linkvest.com>,
Jean-Eric Cuendet  <jean-eric.cuendet@linkvest.com> wrote:

| 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?

  You can do it in config.h (from memory), but you might be better
served by having proper DNS reverse lookup. I run DNS on any but the
smallest servers for performance reasons, and you can certainly generate
a reverse lookup table if you really don't have internal DNS for your
addresses.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
At LinuxExpo Sun was showing Linux applications running on Solaris.
They don't get it, the arrow points the other way. There's a reason why
there's no SolarisExpo, Solaris is a tool; Linux is a philosophy, a
religion, a way of life, and only incidentally an operating system.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads