LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Squid and a caching name server

[ILUG] Squid and a caching name server

Stephane Dudzinski stephane at antefacto.com
Mon Oct 8 09:22:13 IST 2001


Yep, got the same problem on my personal box over the week end,
installed a brand new mandrake 8.1 which had squid as a package. Had to
edit squid.conf to specify DNS, works fine now.

Steph

On Mon, 2001-10-08 at 09:18, Wynne, Conor wrote:
> Get over it mon :)
> 
> No seriously, disable DNS (temorarily) and edit squid.conf, look for a line
> dnsserver (sorry from the head, don't have a box near me) you can manually
> specify the nameservers from resolve.conf which are added when you connected
> to the net. 
> 
> This way you bypass DNS and your squid will be cool.
> 
> Later,
> CW
> 
> 
> 
> --------------------
> I'm trying to revive squid on my machine. It works fine as long as I'm
> connected, but when I disconnect from the net it loses the plot and even
> after reconnecting it still won't work. The way to resolve it is to restart
> squid after connecting to the net but this is a bit of a PITA.
> 
> It seems to me that the way to solve this is to set up a local caching
> nameserver, something that's been on the long finger for an even longer
> time. So, I installed bind on this box but I've one query - from the DNS
> HOWTO I have a sample caching named.conf which is rather simple 
> -------------------------------------------------------------------------- 
> options {
> 	directory "/var/named";
> };
> zone "." {
> 	type hint;
>         file "root.hints";
> };
> zone "0.0.127.in-addr.arpa" {
> 	type master;
>         file "pz/127.0.0";
> };
> -------------------------------------------------------------------------- 
> 
> and when I installed the bind8 RPM from SuSE 7.2 I got a similar named.conf,
> but it has a forwarders line commented out in options. Should I use a
> forwarders line or not ? It seems to me that if I don't use one, queries
> which can't be resolved from the cache will just be forwarded according to
> the current contents of resolv.conf, which may change depending on which ISP
> I'm using. My understanding of forwarders is that you'd more commonly use
> them in a smallish network where you had a few internal servers, and only
> one or two which you actually wanted to do all your external lookups. So
> bottom line question - use a forwarders line or not, and if so, how would I
> cope with using different providers (I think most provider's name servers
> here are farily agnostic about who they will answer queries from, but that
> might change)
> 
> 
> TIA
> 
> 
> Niall
> 
> -- 
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
-- 
__________________________________________
Stephane Dudzinski   Systems Administrator
a n t e f a c t o     t: +353 1 8586009
www.antefacto.com     f: +353 1 8586014





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell