Logging DNS Requests
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’.
(From Author Torijori_Yamamada this post in Technical Forum) I've needed an iRule to read query & query-type from dns packets and send them to remote syslog server. I found a couple of posts on devcentral but looks like they work if you have DNS / GTM license. So, i wrote one for my own needs.