Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] squid server: error on DNS


On Mon, Jul 30, 2001 at 02:45:56PM +1000, Phillipus Gunawan (mr_phillipus@xxxxxxxxx) wrote:
> I'm planning to setup a firewall for my network with optus cable. I configured 1 system with very minimal installation and install squid and another comp (not yet) with DNS-BIND
> 
> When installing squid (manually with tar.gz file) when I run
>     usr/local/squid/bin/squid -NCd1
> I got error:
>     ipcache_init: DNS name lookup tests failed.
> 
> Is that because I haven't set up any DNS server on my network or the squid request cache server from the optus?
> I've tried to look for a documentation on this, but I couldn't find any that can satisfy me
> 
> Anyone can help?
> 
> 


It sounds like you don't quite have all the networking set up
on the Linux box.

Unless you are running a name server on the local net, you will
need to set-up the "/etc/hosts" file in the Linux box. Also, check
the /etc/resolv.conf" file for proper entries. 

order hosts, bind
multi-on


BTW, IMHO its always good to have a local nameserver running. It
decrases the traffic drastically on your connection to the ISP (whatever it is).



jobst




-- 
186,262 miles/second :  Not just a good idea, it's the LAW.

             __, Jobst Schmalenbach, jobst@xxxxxxxxxxxxxx, Technical Director
   _ _.--'-n_/   Barrett Consulting Group P/L & The Meditation Room P/L      
 -(_)------(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia