]> git.pld-linux.org Git - packages/djbdns.git/commitdiff
- 11-OCT-2006 update
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 5 May 2008 19:34:03 +0000 (19:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tinydns-log -> 1.2

tinydns-log

index 6dd24f7f01b2696ce9b5fb2b2864b3b8fc9d89d9..5df9fdcc876168dab5619e2e60500fb89d3d6b7c 100644 (file)
@@ -8,6 +8,10 @@
 # to add tinydns response flag "C" and more DNS RR type codes
 # modified 26-AUG-2002 by Andrew Pam <xanni@sericyb.com.au>
 # to support axfrdns logs as well as tinydns logs
 # to add tinydns response flag "C" and more DNS RR type codes
 # modified 26-AUG-2002 by Andrew Pam <xanni@sericyb.com.au>
 # to support axfrdns logs as well as tinydns logs
+# modified 11-OCT-2006 by Andrew Pam <xanni@sericyb.com.au>
+# 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;
 
 # 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
 
 # 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
 
 
 ### subs
 
This page took 0.059082 seconds and 4 git commands to generate.