bind-query-log-statistics icon indicating copy to clipboard operation
bind-query-log-statistics copied to clipboard

Bind query log statistics

Results 5 bind-query-log-statistics issues
Sort by recently updated
recently updated
newest added

After a recent upgrade of my systems to Ubuntu 18.04 which provides Bind 9.11.3 I found that your script wouldn't parse the log files. I fixed the issue by adding...

Refreshed source to python3 (python2 is EOL) Added support for new Bind 9.x logformat

The "--count" argument does not really work: ``` # python /var/tmp/bind-query-log-stats.py --count 10 /var/log/dns/query.log Processing logfile /var/log/dns/query.log Top ['10'] DNS names requested: Traceback (most recent call last): File "/var/tmp/bind-query-log-stats.py", line...

` # Bind 9.13 (chopped = 10) 18-Nov-2023 00:47:15.587 client @0x7f601c0be800 192.168.0.192#56000 (www.google.com): \ query: www.google.com IN A + (192.168.0.91) elif len(chopped) == 10: timestamp = chopped[0] + " "...