I think it would pretty nice, if something like unique id would be added for each dns transaction,
I`m developing some script, which uses host forward/reverse dns lookups and it must store hosts only if both records, forward and reverse matches. So, when I get on DNS event I dont know - is it first time, when script resolves reverse dns or is it already has been resolved and now it is check for forward (I`m still thinking how to solve that problem).
I think, those Uniq-id could be something like -[?] switch to dns command, and available in 'on dns' event with $dns().id etc.