Simple Sideband - iRule sideband the easy way
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’.
Short Description
Simple Sideband is a helper iRule which makes getting started with doing iRule based ...
Published Jul 18, 2023
Version 1.0PeteWhite
Employee
Joined May 16, 2019
PeteWhite
Jul 19, 2023Employee
xuwen you are correct - the dns_query and dns_response functions only support A requests. To be honest, I included them as a way to demonstrate UDP functionality and how to create packets using binary format. You can easily modify the request by changing the QTYPE to be AAAA which is 28 [ List_of_DNS_record_types ] - it is currently A, which is 1. I suspect that dns_response may work anyway because the A and AAAA RR are formatted similarly, though you'd have to try it out yourself.
I was considering adding more DNS functionality but it is difficult to add functionality while also keeping it simple to use. If i hear of other people requiring AAAA I may add it anyway, so watch this space!