From 5ad90ddb51dc10bc5cb76f2b80c45af9033a6567 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 5 May 2008 19:34:03 +0000 Subject: [PATCH] - 11-OCT-2006 update Changed files: tinydns-log -> 1.2 --- tinydns-log | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tinydns-log b/tinydns-log index 6dd24f7..5df9fdc 100644 --- a/tinydns-log +++ b/tinydns-log @@ -8,6 +8,10 @@ # to add tinydns response flag "C" and more DNS RR type codes # modified 26-AUG-2002 by Andrew Pam # to support axfrdns logs as well as tinydns logs +# modified 11-OCT-2006 by Andrew Pam +# to enable autoflush and support new "X" NXDOMAIN responses + +$| = 1; # enable autoflush # convert addresses in hex to dotted decimal notation. s/\b([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg; @@ -17,7 +21,7 @@ s/\b([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg; # query tai64n host:port:qid flag qtype thing # keep tai64n header as is - use tai64nlocal to convert it to TAI -s/^(@[a-f0-9]+) \b([\d.]+):(\w+):(\w+) ([\+\-CI\/]?)\s?\b([a-f0-9]+) \b([-.\w]+)/$1." ".printQueryLine($2,$3,$4,$5,$6,$7)/e; +s/^(@[a-f0-9]+) \b([\d.]+):(\w+):(\w+) ([\+\-CIX\/]?)\s?\b([a-f0-9]+) \b([-.\w]+)/$1." ".printQueryLine($2,$3,$4,$5,$6,$7)/e; ### subs -- 2.43.0