Re: [squid-users] positive_dns_ttl question (2nd post)

From: Simon White <simon@dont-contact.us>
Date: Wed, 27 Mar 2002 18:40:22 +0000

27-Mar-02 at 15:32, jcarminati@pluspetrol.com.ar (jcarminati@pluspetrol.com.ar) wrote :
> Hi Simon,
>
> Well, I don't know very well how to identify if the remote hosts has a
> dynamic IP or not assigned for load balancing purposes, but this happens
> for most of the addresses that I've checked.
>
> As for your response, I must assume that by some mechanism the resolver
> 'knows' if it can cache the RR data or not, is this right ?.

DNS has a ttl specification for all zones. If this ttl is less than 2
hours, I assume Squid will honour that.

If you need a normal host mapped to one IP that won't change often you can
use my domain if you like (mtds.com) for testing.

Bind 9 introduced some new ttl rules, like specifying a minimum negative
and positive ttl and lots of stuff I still haven't really got my head
around. The key here is that Squid will respect RFCs and server cache
directives (a server which tells Squid not to cache its content will be
respected by Squid) and I see no reason why DNS would be different.

You can probably override this in squid.conf (breaking RFCs and load
balancers, etc) but I can't be sure.

Simon.

--
[Simon White. vim/mutt. simon@mtds.com. GIMPS:57.28% see www.mersenne.org]
Note to experienced users: Please don't encourage anti-support behavior.
Don't try to answer questions from users who don't provide the necessary
information. Guessing what they did is an incredible waste of time. (DJB)
[Arbitrary quotes signature rotation, a simple bash script by Simon White]
Received on Wed Mar 27 2002 - 11:40:28 MST

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