You're iRule feels to fake... this a wide_ip, so it's some DNS name, say example.com
What would an iRule that says, for any request, respond with this CNAME... why is it a wide_ip then?
I understand you're just testing, but it is confusing for us, external people trying to help you out, to understand....
You project sounds intersting, though I dont underdtand it:) care to explian a bit more?
Explain what the wide_ip if any, would be used for, then what the iRules job would be.
Do you mean to interespt quey_type == CNAME, and some other query_types, and act on them, while letting GTM handle A or ANY types?
I've never heard of ANAME... will be looking it up soon though.