Every now and then I need to be able to parse a DNS debug log, it’s useful in many different scenarios. I wrote an advanced function to help me with this, specify a file name or pipe log lines (or file names) to it and it will return a properly formatted object.
Be aware that I only added some of the different date formats I could find, so verify that it works for your server.
Code is available here. (updated 2016-01-11)