RE: No DNS records --- IT WORKS!!! WOOWHOO!!!

From: Scroggins, Kelly <ScroggiK@dont-contact.us>
Date: Wed, 29 Mar 2000 09:40:34 -0600

You won't beleive this.

I disabled one of the NICs and everything is working! I guess the NICs must
be on seperate subnets?

I need to read up on load balancing. I saw something on it somewhere as I
was searching.

Thanks to Micheal and all for the help,

Kelly

-----Original Message-----
From: Michael Ju. Tokarev [mailto:mjt@tls.msk.ru]
Sent: Wednesday, March 29, 2000 2:36 AM
To: Scroggins, Kelly
Subject: Re: No DNS records

Hello!

2.2 version is ok -- it does not require to modify something,
it should be stable as is. I told you about 2.3 version --
it need some tweaks to avoid that error. And my suggestions
was about 2.3 (editing .spec etc). 2.2 should install out-of-the-box,
even from binary rpm.

You can safely overwrite installation, but if you downgrade (2.3 => 2.2),
rpm will complain that you already have never version.
So it is best to erase 2.3 first and install 2.2 after that.

P.S. Time zones are different at our locations... :)

"Scroggins, Kelly" wrote:
>
> Michael,
>
> I'm sorry to be a pest. I couldn't wait for a reply from my previous
> message to you, so I installed the squid-2.2.STABLE4-8.src.rpm and edited
> the file as you suggested.
>
> --qoute--
> - get 2.3 source rpm, install it (using -i, not --rebuild), open
squid.spec
> file (found in /usr/src/redhat/SPECS), and add --disable-internal-dns
> into this file to ./configure... line, and execute "rpm -bb
squid.spec"
> to build.
> --end qoute--
>
> I ran this comand:
>
> # rpm -bb /usr/src/redhat/SPECS/squid-2.2.spec
>
> (The /usr/src/redhat/SPECS/squid-2.2.spec file is what I edited and ran
the
> rpm against.)
>
> But I got an error. It said :
>
> + --disable-internal-dns
> /var/tmp/rpm-tmp.35360: --disable-internal-dns: command not found
> Bad exit status from /var/tmp/rpm-tmp.35360 (%build)
>
> What did I do wrong?
>
> Also, I have the squid server set up on the same subnet as the
workstation.
> There are two NICs in the squid server. Each has an IP address on the
same
> subnet. But only one of the NICs is included in the firewall's access
list,
> enabling it to 'get outside' of the network.
>
> Could this be causing a problem?
>
> Thanks,
> Kelly
>
> -----Original Message-----
> From: Michael Ju. Tokarev [mailto:mjt@tls.msk.ru]
> Sent: Tuesday, March 28, 2000 1:17 AM
> To: squid-users@ircache.net
> Subject: Re: No DNS records
>
> "Scroggins, Kelly" wrote:
> []
> > I'm running "Starting Squid Cache version 2.3.STABLE2 for
> > i686-pc-linux-gnu...",
> > on Red Hat 6.1.
> >
> > My original message addressed your questions. We use our ISPs DNS
server
> on
> > the outside of our network.
> []
> I apologize -- should read more carefully.
>
> As for now, we can say that this problem is still in stable2.
> And not related to hardware variant (I see it on my 486/66 (yes!) router).
> So machine speed is not relevant here -- fast dual pentium and slow 486
> are the same... And OS version does not matter -- Red Hat 6.1 (mine too),
> and something wrong on Solaris, as reported at
>
http://www.squid-cache.org/Versions/v2/2.3/bugs/#squid-2.3.stable2-internal_
> dns_problems
> (error message is not the same, but sometimes I got that message too).
>
> As I also said, try to recompile it with --disable-internal-dns.
> This is not a complete solution, but a workaround -- there are some
> changes in dnsservers introduced in 2.3 -- and 2.3 dnsservers functions
> a bit differently compared to 2.2 ones). And set "negative_dns_ttl 1
> seconds"
> in squid.conf -- this is not perfect, but it allows you to press "reload"
> button in your browser at least if you get that message (by default, you
> cannot do that in 5-15 minutes, do not remember exactly).
> Or, and this is more radical solution, downgrade to latest 2.2stable,
> especially if you do not use features of 2.3 ("traffic shapering" and
> custom replacion policy), till that case will be resolved.
>
> P.S. If you not familiar with software compiling/installation, you have
two
> relatively simple choices
> - find 2.2stable rpm (downgrade)
> - get 2.3 source rpm, install it (using -i, not --rebuild), open
> squid.spec
> file (found in /usr/src/redhat/SPECS), and add --disable-internal-dns
> into this file to ./configure... line, and execute "rpm -bb
squid.spec"
> to build.
Received on Wed Mar 29 2000 - 08:58:30 MST

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