[NTLUG:Discuss] Slow connection to pop3

Bug Hunter bughuntr at one.ctelcom.net
Tue Jul 16 09:24:24 CDT 2002


  in my 

  /etc/host.conf, I have

  order hosts, bind
  multi on

  This tells the resolver to look up in hosts file first, then use bind.

  Perhaps this is not on your pop 3 server machine???

  If you have pop3 run from inetd, then inetd is trying to do a revers dns
lookup before, during (?) starting pop3, and maybe a forward lookup
depending upon how you have /etc/hosts.allow set up.

  try putting all 192.168.x records in a dns file so the reverse dns
looks up to _something_. and run bind on that machine, with
/etc/resolv.conf pointing to that machine for its DNS server.

 I recommend bind 4.9.9 due to the large number of holes in 8.x and 9.x.
However, both 8 and 9 appear to be down to nuisance level problems now.

bug


On Tue, 16 Jul 2002, Neil Aggarwal wrote:

> Paul:
> 
> I ran your script to add the entries into the hosts file,
> thanks for the help on that.
> 
> Unfortunately, it did not solve my problem.  The connections
> to pop3 are still as slow as they have ever been.
> 
> Any ideas?
> 
> Thanks,
> 	Neil.
> 
> --
> Neil Aggarwal
> JAMM Consulting, Inc.    (972) 612-6056, http://www.JAMMConsulting.com
> Custom Internet Development    Websites, Ecommerce, Java, databases
> 
> 
> > -----Original Message-----
> > From: discuss-admin at ntlug.org [mailto:discuss-admin at ntlug.org]On Behalf
> > Of Paul Ingendorf
> > Sent: Monday, July 15, 2002 10:28 PM
> > To: discuss at ntlug.org
> > Subject: RE: [NTLUG:Discuss] Slow connection to pop3
> > 
> > 
> > And this prevents you from testing this how?  The suggestion was 
> > to see if the dns timeout was indeed the culprit to your slowdowns.
> > 
> > If you just want to quick dirty hack do something like this and 
> > have a program fill in every combination from 1-255 for your 
> > subnet in the host file.
> > 
> > #!/bin/bash
> > let x=1
> > while test $x -lt 256
> > do
> > echo 192.168.1.$x host$x >> /etc/hosts
> > let x=$x+1
> > done
> > 
> > 






More information about the Discuss mailing list