#!/bin/sh

exec /usr/local/bin/setuidgid dnslog \
 /usr/local/script/dnsstats.pl --cricket \
  --log \
  --dnscache \
  --stats_file=/etc/dnscache/stats/stats_file -- \
   /usr/local/bin/multilog \
    -'*cached*' \
    -'*rr*' \
    -'*tx*' \
    -'*sent*' \
    s1048576 n2 /etc/dnscache/log/main/
