man tinydns2dlf (Commandes) - convert tinydns logs, as created by multilog, to dlf
NAME
tinydns2dlf - convert tinydns logs, as created by multilog, to dlf
SYNOPSIS
tinydns2dlf
DESCRIPTION
This script converts each line in a tinydns(1) query log, with timestamps as created by multilog(1) to a dns dlf record. tinydns is part of djbdns. multilog is part of daemontools.
Logging data is printed automatically by tinydns. A typical line in a log file would look like this:
@400000003e67eeb414752ccc 7f000001:eb9f:80bd + 0001 www.slashdot.org
EXAMPLES
To process a log as produced by tinydns:
$ tai64nfraq < current | tinydns2dlf
tinydns2dlf will be rarely used on its own, but is more likely called by lr_log2report:
$ lr_run lr_log2report tinydns < /service/tinydns/log/main/current
SEE ALSO
bind9_query2dlf(1), qmail2dlf(1)
http://cr.yp.to/djbdns.html http://cr.yp.to/daemontools.html
VERSION
$Id: tinydns2dlf.in,v 1.6 2004/01/21 07:23:00 wsourdeau Exp $
COPYRIGHT
Copyright (C) 2003 Christopher Boumenot
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
AUTHOR
Christopher Boumenot