Jim_Araujo_1061
Oct 28, 2014Nimbostratus
GTM iRule to modify Query?
Hey folks, is it possible for an iRule to change the DNS name being queried? For example, based on the condition in the article here https://devcentral.f5.com/questions/gtm-irule-to-provide-cname-based-on-source-ip-of-query I want a CNAME to always add .wip. after the subdomain of the query. For example, I want to replace example.company.com with example.wip.company.com. However in a wildcard scenario, so I don't have to manually enter a CNAME for every single record.
example1.company.com --CNAME--> example1.wip.company.com
example2.company.com --CNAME--> example2.wip.company.com
example3.company.com --CNAME--> example3.wip.company.com
example4.company.com --CNAME--> example4.wip.company.com
example5.company.com --CNAME--> example5.wip.company.com
example6.company.com --CNAME--> example6.wip.company.com
Is there a way to have the iRule automatically add the .wip. to any query?