1 --- ./tinydns-log~ 2005-05-03 13:00:43.000000000 +0300
2 +++ ./tinydns-log 2005-05-03 13:00:45.000000000 +0300
4 # to support axfrdns logs as well as tinydns logs
6 # convert addresses in hex to dotted decimal notation.
7 -s/\b([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg;
8 +s/(?:00000000000000000000ffff|\b)([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg;
10 ### clean up some messages
11 # convert stuff like 127.0.0.2:0422:05be to something more descriptive.
12 --- ./tinydns-log~ 2005-05-03 13:12:45.000000000 +0300
13 +++ ./tinydns-log 2005-05-03 13:12:46.000000000 +0300
15 # modified 26-AUG-2002 by Andrew Pam <xanni@sericyb.com.au>
16 # to support axfrdns logs as well as tinydns logs
21 # convert addresses in hex to dotted decimal notation.
22 s/(?:00000000000000000000ffff|\b)([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg;