On Thu, 2011-03-17 at 22:17 +0400, Hamad Ali wrote:
> Thank you all for your extensive support. I have to say that this
> thread told me that SA's list is one of the most lists out there.
[...]

> Regarding my problem, I am still investigating the cause of the
> network delay. I have installed a DNS cac he server, and speed did
> increase for "cached" entries. Sometimes, I get ~1.4 seconds (time(1))
> for email scanning with network enabled, and 0.1 seconds when network
> tests are disabled. I tried other DNS servers beside my ISP's, and
> they all were similarly slow for non-cached entries. I am suspecting
> that my SP is doing something weird, it could be that they are doing
> some form of transparent DNS proxying to filter unwanted websites.

Now this is better. :)  You see, all these comments to your original
post do have a reason -- we can help better, if they get answered,
because they can highlight the actual problem. Ignoring those offering
help, on the other hand, might get some folks upset.


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.


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to