[squid-users] R: [squid-users] To HENRIK: is there any problem if I post a page?

From: Steve Snyder <[email protected]>
Date: Thu, 20 Dec 2001 08:49:40 -0500

On Thursday 20 December 2001 08:19 am, Boniforti Flavio wrote:
> > Hi Bonnny
> > looking at ur runtime info
> > 1> ur DNS lookup times r unusually high ,, very high .. try
> > to use a caching
> > DNS server
>
> What do you mean exactly? I'm running a BIND DNS on my machine, which
> only does a forwarding service to my ISP's DNS servers!
> My resolv.conf is like
>
> nameserver "ISP1"
> nameserver "ISP2"
> nameserver 127.0.0.1

Pardon me for being off-topic, but:

Hmm. Your local name server is only being used if the 2 belonging to your
ISP can't be contacted. Are you sure that's what you want?

It would be much faster if you put "nameserver 127.0.0.1" at the top of the
list and configured BIND like this:

  options {
    forward first;
    forwarders{ 0.1.2.3; 4.5.6.7; };
  };

This way your ISP's name servers would still be used in preference to doing
your own name resolution, but you would have the performance benefit of the
local caching.

With the scheme you're using now, you have to contact your ISP for each
resolution. Not only does that mean sending data each way across your 64K
ISDN connection, but you have to compete with your ISP's other customers
for access to their name server. Doing the caching locally means that
often you won't have to leave your own network to resolve names.

Hope this helps.
Received on Thu Dec 20 2001 - 06:49:43 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:25 MST