RE: [squid-users] Implication of positive_dns_ttl?

From: squiduser <[email protected]>
Date: Sat, 29 Nov 2003 08:35:19 -0600 (CST)

if you have no service contract with RH9 then you better move to another
distro or to Fedora (which im migrating loads too now).

Support is about to be completely dropped on the non enterprise version of RedHat but RH
did fork it into the Fedora project which was something I had wished they
did a year ago.

Now I have a system very similar to RH9, completely free, recent rpm builds if I want, multiple rpm synch mechanisms, no
trademark issues when building my own cd's from RH. Anyway go to
fedora.redhat.com for more info.

If you have more questions about Fedora, email me direct as its
off-topic for this list. Since you said you were new to Linux I figured
you may not be aware of the recent changes at RH.

-Greg

On Fri, 28 Nov 2003, Cafe Admin wrote:

> Thanks Greg.
> My RH9 came with 2.5stable1-2 too, but I obtained the latest stable RPM (at
> that time) from http://swelltech.com/support/updates/squid/9/i386/ and
> upgraded to 2.5.Stable3.
> Your suggestion sounds helpful, but I need to do a little more
> research/reading to fully understand what you mean.
> I'm still relatively newbie to Linux and Squid. This is for my own private
> network of 30 clients and I have no service contract with RH9 so I pretty
> much can do what I see fit for my situation :) I'll let you know if I'm
> successful or run into any road block. Thanks.
>
> -----Original Message-----
> From: squiduser [mailto:squiduser@packetstorm.org]
> Sent: Friday, November 28, 2003 11:26 PM
> To: Cafe Admin
> Cc: squid-users@squid-cache.org
> Subject: RE: [squid-users] Implication of positive_dns_ttl?
>
>
>
> Did you get that rpm from updates.redhat.com? Ive been looking for an
> updated squid rpm but mine shows 2.5stable1-2 (im not at work but im
> pretty sure thats it). If not where? Otherwise im probably going to
> rebuild an rpm for 2.5stable-latest.
>
> What you can try is getting the SRPM for it and apply that patches. The
> problem I found with some of RH rpms is the things they do to backport
> fixes sometimes make patching difficult.
>
> So what im going to try to do next week while at work is grab the SRPM
> file and since it contains the SPEC file, ill use it to reference the
> newer Squid sources to rebuild the RPM. If that fails, Ill check
> rpmfind for an updated SRPM to get a working spec file and then
> rebuild locally. Note if yours is an enterprise
> system I doubt RH will support any changes you make to their loadout.
>
> But if your just wanting that config option, get the SRPM, modify the SPEC
> file and rebuild. The spec file contains the configuration flags used. More
> info at
> www.rpm.org on how this is done.
>
> -greg
>
> On Fri, 28 Nov 2003, Cafe Admin wrote:
>
> > I think I found the answer to my first question "How do I tell whether it
> > was
> > compiled with the --disable-internal-dns option?" Typing squid -v at the
> > prompt tells me the squid version in addition to the compile
> > options. --disable-internal-dns is not listed so I assume the binary was
> not
> > compiled with it. Please tell me if I'm looking at the wrong place.
> >
> > My other questions remain to be answered:
> >
> > Where can I find the patch (and instruction on how to apply the patch)
> > to force squid to cache positive dns longer?
> >
> > Can I apply the patch to my current RPM binary?
> >
> > Thanks.
> >
> > -----Original Message-----
> > From: Cafe Admin [mailto:cafeadmin@comcast.net]
> > Sent: Friday, November 28, 2003 8:19 PM
> > To: squid-users@squid-cache.org
> > Subject: RE: [squid-users] Implication of positive_dns_ttl?
> >
> >
> > Thanks Henrik.
> > I'm using Squid 2.5.Stable3 RPM for RH9. How do I tell whether it was
> > compiled with the --disable-internal-dns option?
> > Also, where can I find the patch (and instruction on how to apply the
> patch)
> > to force squid to cache positive dns longer.
> > Can I apply the patch to my current RPM binary? Excuse my ignorance; I'm
> > still learning my way around with Squid and Linux.
> > Thanks.
> >
> >
> >
> >
> > -----Original Message-----
> > From: Henrik Nordstrom [mailto:hno@squid-cache.org]
> > Sent: Friday, November 28, 2003 4:44 PM
> > To: Cafe Admin
> > Cc: squid-users@squid-cache.org
> > Subject: Re: [squid-users] Implication of positive_dns_ttl?
> >
> >
> > On Fri, 28 Nov 2003, Cafe Admin wrote:
> >
> > > Hi all,
> > > I'm using the default "positive_dns_ttl 6 hours" in my squid.conf. Does
> > this
> > > mean that Squid will overide all DNS ttl and cache every successfull DNS
> > > lookup for at least 6 hours?
> >
> > If your Squid is not compiled with the default internal DNS client
> > (--disable-interna-dns not used) then the positive_dns_ttl parameter is
> > not used at all by Squid. Instead the TTL value given by DNS is used.
> >
> > There is a patch to make Squid-2.5 use this parameter as a upper limit on
> > DNS TTL for positive caching.
> >
> > > Is there a means to force positive DNS lookup to be cached longer than
> > > the ttl provided by the host domain? Thanks.
> >
> > If you build Squid with --disable-internal-dns then DNS TTL information
> > will not be available to Squid and the positive_dns_ttl will be used.
> >
> > Regards
> > Henrik
> >
> >
> >
> >
> >
>
>
>
Received on Sat Nov 29 2003 - 06:40:46 MST

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