🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Vincent Lefevre Thu, 07 Mar 2002 12:58
[INN] slow connection (DNS problems)
#57096
Author: Vincent Lefevre
Date: Thu, 07 Mar 2002 12:58
41 lines
2705 bytes
I have installed inn 2.3.2. When connecting from localhost to localhost,
there is no problem. But in the following two cases, I get the

  200 ay.vinc17.org InterNetNews server INN 2.3.2 ready ...

line after 20 seconds or more.


First case: connection from an external machine.
/var/log/news/news.notice gives:

Mar  7 12:30:21 ay nnrpd[17747]: SERVER perl filtering enabled
Mar  7 12:30:41 ay nnrpd[17747]: riscpc.domain.invalid connect

thus a 20-second delay.


Second case: connection from localhost, but using the IP address
of the machine instead of localhost, e.g. "telnet 192.168.0.3 119"
instead of "telnet localhost 119". /var/log/news/news.notice gives:

Mar  7 12:42:38 ay nnrpd[17947]: SERVER perl filtering enabled
Mar  7 12:42:59 ay nnrpd[17947]: ? cant gethostbyaddr 192.168.0.3 Host name lookup failure -- using IP address for access
Mar  7 12:43:19 ay nnrpd[17947]: 192.168.0.3 connect

thus a 40-second delay.


So, is there a way to automatically bypass these DNS requests (without
having to recompile inn)?

I'm currently using a Debian distribution, and with LinuxPPC and
a similar configuration, there was no such problem. So, I think
that something can be done...

-- 
Vincent Lef�vre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Math�matiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Re: [INN] slow connection (DNS problems)
#57100
Author: Jeffrey M. Vinocur
Date: Thu, 07 Mar 2002 16:45
17 lines
1459 bytes
In article <20020307125822$6760@vinc17.org>,
Vincent Lefevre  <vincent+news@vinc17.org> wrote:
>
>So, is there a way to automatically bypass these DNS requests (without
>having to recompile inn)?

Well, the real solution is probably to fix your DNS.

But if you want to change your configuration around, so that
nnrpd is spawned from xinetd instead of by INN, you could pass it
the -n flag which should alleviate your problem.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN] slow connection (DNS problems)
#57107
Author: Vincent Lefevre
Date: Fri, 08 Mar 2002 00:38
20 lines
1974 bytes
In article <a685fp$9s2$1@marduk.litech.org>,
  Jeffrey M. Vinocur <jeff@litech.org> wrote:

> Well, the real solution is probably to fix your DNS.

I have no local DNS. I've updated the /etc/hosts file to fix the main
problem (connection from an external machine), though.

> But if you want to change your configuration around, so that
> nnrpd is spawned from xinetd instead of by INN, you could pass it
> the -n flag which should alleviate your problem.

Would this change anything concerning the DNS lookups?

-- 
Vincent Lef�vre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Math�matiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Re: [INN] slow connection (DNS problems)
#57110
Author: Vincent Lefevre
Date: Fri, 08 Mar 2002 01:18
20 lines
1925 bytes
In article <20020308003529$66b3@vinc17.org>,
  Vincent Lefevre <vincent+news@vinc17.org> wrote:

> In article <a685fp$9s2$1@marduk.litech.org>,
>  Jeffrey M. Vinocur <jeff@litech.org> wrote:

>> Well, the real solution is probably to fix your DNS.

> I have no local DNS. I've updated the /etc/hosts file to fix the main
> problem (connection from an external machine), though.

I've tried again "telnet 192.168.0.3 nntp" and this now works immediately
too.

-- 
Vincent Lef�vre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Math�matiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Re: [INN] slow connection (DNS problems)
#57118
Author: Jeffrey M. Vinocur
Date: Fri, 08 Mar 2002 04:11
30 lines
1982 bytes
In article <20020308003529$66b3@vinc17.org>,
Vincent Lefevre  <vincent+news@vinc17.org> wrote:
>In article <a685fp$9s2$1@marduk.litech.org>,
>  Jeffrey M. Vinocur <jeff@litech.org> wrote:
>
>> Well, the real solution is probably to fix your DNS.
>
>I have no local DNS. I've updated the /etc/hosts file to fix the main
>problem (connection from an external machine), though.

Interesting.

You probably could configure your local name server to return
NXDOMAIN (or some such) immediately on all queries, although I
don't know BIND well enough to help you with that>


>> But if you want to change your configuration around, so that
>> nnrpd is spawned from xinetd instead of by INN, you could pass it
>> the -n flag which should alleviate your problem.
>
>Would this change anything concerning the DNS lookups?

See the -n flag in the nnrpd manpage...I believe it would.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN] slow connection (DNS problems)
#57248
Author: Vincent Lefevre
Date: Fri, 15 Mar 2002 17:21
29 lines
2258 bytes
In article <a69dks$e7k$1@marduk.litech.org>,
  Jeffrey M. Vinocur <jeff@litech.org> wrote:

> In article <20020308003529$66b3@vinc17.org>,
> Vincent Lefevre  <vincent+news@vinc17.org> wrote:
>>I have no local DNS. I've updated the /etc/hosts file to fix the main
>>problem (connection from an external machine), though.

> Interesting.

In fact both problems have been fixed (I don't why only one was fixed
immediately).

>>> But if you want to change your configuration around, so that
>>> nnrpd is spawned from xinetd instead of by INN, you could pass it
>>> the -n flag which should alleviate your problem.
>>
>>Would this change anything concerning the DNS lookups?

> See the -n flag in the nnrpd manpage...I believe it would.

There is no such flag in this manpage.

-- 
Vincent Lef�vre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Math�matiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Re: [INN] slow connection (DNS problems)
#57263
Author: Jeffrey M. Vinocur
Date: Sat, 16 Mar 2002 06:50
18 lines
1438 bytes
In article <20020315171525$401c@vinc17.org>,
Vincent Lefevre  <vincent+news@vinc17.org> wrote:
>  Jeffrey M. Vinocur <jeff@litech.org> wrote:
>
>> See the -n flag in the nnrpd manpage
>
>There is no such flag in this manpage.

*blink*

Indeed, apologies.  (It's in the 2.4 prerelease, but not in
2.3.x.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN] slow connection (DNS problems)
#57330
Author: Johnson Lau
Date: Mon, 18 Mar 2002 16:22
12 lines
1442 bytes
I have similar problem here and still don't know how to slove it.
Could you tell me how did you do it in details? Thanks very much.


"Vincent Lefevre" <vincent+news@vinc17.org> ���g��l��s�D
:20020307125822$6760@vinc17.org...
> I have installed inn 2.3.2. When connecting from localhost to localhost,
> there is no problem. But in the following two cases, I get the



Re: [INN] slow connection (DNS problems)
#57382
Author: Vincent Lefevre
Date: Tue, 19 Mar 2002 02:16
28 lines
2090 bytes
In article <a75489$rbb$1@justice.csc.cuhk.edu.hk>,
  Johnson Lau <johnson@siukeung.com> wrote:

> I have similar problem here and still don't know how to slove it.
> Could you tell me how did you do it in details? Thanks very much.

My /etc/hosts file contains:

127.0.0.1       ay      localhost
192.168.0.1     router
192.168.0.2     riscpc  riscpc.vinc17.org
192.168.0.3     ay.vinc17.org

In /etc/news/inn.conf, I set the following:

pathhost:               ay.vinc17.org
domain:                 vinc17.org
server:                 localhost

If you have timeout problems, you can look at the log files to see
what the news server is trying to do.

-- 
Vincent Lef�vre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Math�matiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
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