Re: Long connect times

2001-06-14 Thread Jörgen Persson

On Thu, Jun 14, 2001 at 05:39:06PM +1000, Jon Booth wrote:
 Hi all,
 I am using QMail with xinetd. It takes ages for a PC internally (allowed
 to relay) to connect to the server. Outside servers can connect instantly. 
 Where should I look to diagnose this problem


I'm not familiar with xinetd but it might be configured to do reversed
DNS lookups for incoming connections. It will most probably delay the
connection if it can't do that properly.

By the way, tcpserver[1] is the prefered internet daemon for qmail.


Jörgen

[1] http://cr.yp.to/ucspi-tcp.html



Re: Long connect times

2001-06-14 Thread Jon Booth

That would make sense. How can I stop it from doing reverse lookups? Its
not practical from me to set up reverse DNS for these internal IPs.

Thanks
Jon

On Thu, 14 Jun 2001, [iso-8859-1] Jörgen Persson wrote:

 On Thu, Jun 14, 2001 at 05:39:06PM +1000, Jon Booth wrote:
  Hi all,
  I am using QMail with xinetd. It takes ages for a PC internally (allowed
  to relay) to connect to the server. Outside servers can connect instantly. 
  Where should I look to diagnose this problem
 
 
 I'm not familiar with xinetd but it might be configured to do reversed
 DNS lookups for incoming connections. It will most probably delay the
 connection if it can't do that properly.
 
 By the way, tcpserver[1] is the prefered internet daemon for qmail.
 
 
 Jörgen
 
 [1] http://cr.yp.to/ucspi-tcp.html
 




Re: Long connect times

2001-06-14 Thread Jörgen Persson

On Thu, Jun 14, 2001 at 06:15:17PM +1000, Jon Booth wrote:
 That would make sense. How can I stop it from doing reverse lookups? Its
 not practical from me to set up reverse DNS for these internal IPs.


I've got no clue how to do that with xinetd but it's use with qmail is
mentioned in their FAQ[1].

Jörgen
[1] http://www.xinetd.org/faq.html



 
 Thanks
 Jon
 
 On Thu, 14 Jun 2001, [iso-8859-1] Jörgen Persson wrote:
 
  On Thu, Jun 14, 2001 at 05:39:06PM +1000, Jon Booth wrote:
   Hi all,
   I am using QMail with xinetd. It takes ages for a PC internally (allowed
   to relay) to connect to the server. Outside servers can connect instantly. 
   Where should I look to diagnose this problem
  
  
  I'm not familiar with xinetd but it might be configured to do reversed
  DNS lookups for incoming connections. It will most probably delay the
  connection if it can't do that properly.
  
  By the way, tcpserver[1] is the prefered internet daemon for qmail.
  
  
  Jörgen
  
  [1] http://cr.yp.to/ucspi-tcp.html
  
 



RE: Long connect times

2001-06-14 Thread Mike Peppard

Try a stub resolver on the mailbox.  In addition
to your regular name server/cache you should get
decent response times.  The stub resolver
needn't take much ram or cpu.

If you didn't have a stub resolver already, you
will notice a nice performance boost.  Otherwise
try playing with the cache.  There are some
nice tools to figure out what your resolver is
doing on the djbdns site.  Oh.. get djbdns too.

Works here just fine.

-Mike

 -Original Message-
 From: Russell Nelson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 14, 2001 10:00 AM
 To: Jon Booth
 Cc: [EMAIL PROTECTED]
 Subject: Re: Long connect times
 
 
 Jon Booth writes:
   Hi all,
   I am using QMail with xinetd. It takes ages for a PC 
 internally (allowed
   to relay) to connect to the server. Outside servers can 
 connect instantly. 
   Where should I look to diagnose this problem
 
 Reverse DNS for your internal hosts.  It's not optional.
 
 -- 
 -russ nelson [EMAIL PROTECTED]  http://russnelson.com
 Crynwr sells support for free software  | PGPok | 
 521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude windows.h
 Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 
 



Re: Long connect times

2001-06-14 Thread Jon Booth

OK I have set up reverse DNS and it works great. 
The reason I was hesitant to set it up was I was using my ISPs DNS to
resolve not my local but I am now forwarding from my local to theirs

Thanks
Jon Booth

On Thu, 14 Jun 2001, Russell Nelson wrote:

 Jon Booth writes:
   Hi all,
   I am using QMail with xinetd. It takes ages for a PC internally (allowed
   to relay) to connect to the server. Outside servers can connect instantly. 
   Where should I look to diagnose this problem
 
 Reverse DNS for your internal hosts.  It's not optional.
 
 -- 
 -russ nelson [EMAIL PROTECTED]  http://russnelson.com
 Crynwr sells support for free software  | PGPok | 
 521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude windows.h
 Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |