Re: positive_dns_ttl

2007-10-11 Thread Mark Nottingham
f the TTL from an upstream resolver happens to be '0', it changes it to whatever positive_dns_ttl is -- even though that also acts as a ceiling for DNS TTLs. I think this is partly left over from the old days when Squid always used the external dnsserver programs. 'dnsserver&#x

Re: positive_dns_ttl

2007-10-10 Thread Amos Jeffries
;>ttl = Config.positiveDnsTtl; >>>>if (ttl < Config.negativeDnsTtl) >>>>ttl = Config.negativeDnsTtl; >>>>i->expires = squid_curtime + ttl; >>> >>> As I read this, if the TTL from an upstream resolver happens to be >>&

Re: positive_dns_ttl

2007-10-10 Thread Mark Nottingham
ens to be '0', it changes it to whatever positive_dns_ttl is -- even though that also acts as a ceiling for DNS TTLs. I think this is partly left over from the old days when Squid always used the external dnsserver programs. 'dnsserver' could only report TTLs if the O/S had the

Re: positive_dns_ttl

2007-10-10 Thread Duane Wessels
TTL from an upstream resolver happens to be '0', it changes it to whatever positive_dns_ttl is -- even though that also acts as a ceiling for DNS TTLs. I think this is partly left over from the old days when Squid always used the external dnsserver programs. 'dnsserver' coul

positive_dns_ttl

2007-10-09 Thread Mark Nottingham
'0', it changes it to whatever positive_dns_ttl is -- even though that also acts as a ceiling for DNS TTLs. The problem is that this plays havoc with DNS-based load balancers, which will be '0' more often than other DNS entries by nature. Any chance of either; a) havin