> Subject: RE: how to disable network tests?
> From: guent...@rudersport.de
> To: users@spamassassin.apache.org
> Date: Thu, 17 Mar 2011 21:30:16 +0100
> The new timings strongly suggest there indeed are some network or DNS
> issues. Installing a local caching nameserver already helped.
> 
> However, you just mentioned "using other DNS servers than your ISP's
> one" in that very context. Does your caching DNS act as a forwarder?
> 
> Don't do that. Run a local, caching, non-forwarding DNS server. And make
> sure this server (most likely 127.0.0.1) is the first nameserver entry
> in your /etc/resolv.conf.

Yeah, I was forwarding to my ISP's and Google's DNS servers, but never tried 
turning off forwarding. These are the worst results I got from multiple runs 
against an email that used to take a lot of time:
# forwarding to my ISP's DNS servertime cat 00005.mail | spamc -c 13.7/5.0
real    0m10.047suser   0m0.020ssys     0m0.000s
# forwarding to google's DNS serverstime cat 00005.mail | spamc -c 13.7/5.0
real    0m12.062suser   0m0.020ssys     0m0.000s
# no forwarderstime cat 00005.mail | spamc -c 13.7/5.0
real    0m5.717suser    0m0.020ssys     0m0.000s
I can understand why Google's DNS takes up to 12 seconds (located 
geographically far away), but surprised to see that my ISP's server is worst 
than not using forwarders (I was expecting to take advantage of a nearby 
cache). Probably I am rate-limited by my ISP's DNS.
Thank you for all your support!

-- H
                                          

Reply via email to