Re: local_ip vs local_domain

From: Graham Toal <gtoal@dont-contact.us>
Date: Tue, 15 Apr 1997 16:44:00 -0500 (CDT)

> >I know that local_domain is more efficient than local_ip. Unfortunately,
> >as an ISP, we have so many domains that it is impractical to list them all
> >in the squid.conf. We have far less nets, so I am wondering if the
> >added expense of doing lots of DNS lookups would be worth not going
> >through our parent cache. Any hints on this?
>
> Yes, it would probably be better to do the DNS lookups. Presumably,
> if they are your domains, the lookup should occur very quickly.

Unless i'm missing part of the big picture, I can't see how a DNS
lookup of an IP address could possibly be faster than checking the
numbers against a small list of local addresses. Is this something
I can help the project out with by writing a little code for you?

G
Received on Tue Apr 15 1997 - 14:52:14 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:59 MST