Dear Parshant,
for your help I am listing the Operations I have done in squid.
1:- Get the squid-2.3.Stable from squid site
2:- under that
3:- ./configure -with-required-options , make , make install
4:- If compile with disable internal DNS then edit my squid.conf and give alternative DNS name it could be any DNS server in the world or the best one is you primary dns
5:- set my squid cache dir and then did squid -z , after that check the size and other issue with cachemgr
6:- set my cache_mem options and check with cachemger
7:- to specify other dns if you are running squid on sec dns please see that
# TAG: dns_nameservers
# Use this if you want to specify a list of DNS name servers
# (IP addresses) to use instead of those given in your
# /etc/resolv.conf file.
#
# Example: dns_nameservers 10.0.0.1 192.172.0.4
8:- After examine your cache.log I have come to know that your cache dir is mishandled by some one as the base dir in the tree is missing see below..
2000/03/24 13:22:31| /cache1/squid/00: (2) No such file or directory
FATAL: Failed to verify one of the swap directories, Check cache.log
for details. Run 'squid -z' to create swap directories
if needed, or if running Squid for the first time.
Squid Cache (Version 2.2.STABLE4): Terminated abnormally.
here you can see theta dir name 00 is not present. so nothing happen to your cache size its the filesystem and the system security,
if you have any other question please let me know,.
With Regards
Ahsan Khan
Sr. System Admin
Internet Division (OneNet)
Sun Communication Pvt. Ltd.
http://www.one.net.pk
----- Original Message -----
From: prashant
To: squid-users@ircache.net
Sent: Thursday, March 23, 2000 8:52 PM
Subject: help for "dns_nameserver" tag
dear friends
i am rrunning my squid 2.2 stable 4, RH 6.1 , on the same host on which our ,secondery DNS ,
i have goen through the FAQs and got the point that running squid and named on the same host
is not recommended , but as we cant afford new server right now ,i have to run squid on it
my config in "squid.conf"
tag: dns_namesever default
my resolv.conf
search loaldomain
namesever xx.xx.xx.xx (where xx.xx.xx.xx is our primary name server)
nameserver yy.yy.yy.yy ( where yy.yy.yy.yy is our seondary nameserver squid is running on same host)
is this config O.K ,
please tell me
1> ,with this config which namesever squid will use for name resolution ?
and
2> if i will change "dns_nameserver " tag fom default to address of primary nameseve" that which namesever squid will use for name resolution ?
thanks in advance
Prashant Desai
Received on Fri Mar 24 2000 - 18:34:57 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:23 MST