Re: DNSSERVERS

From: Stephane Bortzmeyer <bortzmeyer@dont-contact.us>
Date: Fri, 10 Jan 97 09:03:09 +0100

On Thursday 9 January 97, at 11 h 42, the keyboard of Carlos Maltzahn
<carlosm@anchor.cs.colorado.edu> wrote:

> Is there a way to get the proxy to periodically write this information to
> a log file? Or is a client that periodically queries the cachemgr the only
> solution?

The second solution is certainly the better (do not overcharge Squid,
tools should be organized in a modular way):

#!/bin/csh -f

setenv http_proxy http://cache.yourdomain.org:3128/
set LOG = "/tmp/squid-dns-stats"

while (1)
        url_get cache_object://localhost/stats/dns >> $LOG
        sleep 300
end

----
ftp://ftp.pasteur.fr/pub/Network/url_get
Received on Fri Jan 10 1997 - 00:14:34 MST

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