FreeBSD is Very slow to load some sites >

Bob Johnson bob89 at
Mon Jul 25 14:58:46 GMT 2005

> From: "Galdes, Andrew (ERHS)" <galdes.andrew at>
> To: freebsd-questions at
> Date: Mon, 25 Jul 2005 08:27:37 +0930
> Subject: FreeBSD is Very slow to load some sites
> Hello All,
> Freebsd seems to take a long time (up to ten minutes) to load some web
> sites. When i use Linux or Windows it seems to load at normal speed. I have
> installed Freebsd (same version) on another computer and it has the same
> trouble. I have tried both firefox and konqueror. 
> The website is I suspect the security of the site is the
> problem but cannot be sure.

It seems to be some sort of DNS issue, but I don't know exactly what.  An HTTP 
connection to takes about 45 seconds to establish, regardless 
of the browser.  E.g.

time telnet 80
Connected to
Escape character is '^]'.
telnet> quit
Connection closed.

real    0m44.633s

A DNS query, however, responds almost immediately:

time dig

;                        IN      A

;; ANSWER SECTION:         9798    IN      CNAME            1       IN      A            1       IN      A

real    0m0.288s

And an HTTP connection by IP number instead of by name responds almost 
immediately, also.  I see no packets coming from them (e.g. IDENT queries) 
that would account for the delay.  One of their IP numbers ( has 
no PTR record, but I don't think that has anything to do with it.

> Another thread on this list "[kde-freebsd] Konqueror very slow displaying
> some sites" puts it down to DNS. Any ideas?

Could be an issue with the FreeBSD resolver.  It's happened in the past, but I 
thought that was all cleared up now.  I don't know if "dig" uses the native 
resolver or implements one of its own.  I suspect the latter.

- Bob

More information about the freebsd-questions mailing list