Forum Discussion
How to translate IP in a standard query DNS response in GTM
Hello all, I've got a task to translate a real LTM IP virtual address in a GTM/DNS response. So, we have a wide IP,a pool with two IPs of LTMs (IP1/2), IP3 of GTM (a listener). When the listener (IP3) receives a DNS-query , it checks availability of all LTMs(IP2/3) in the pool and the load balancing method.After that, a DNS standart query is created by the listener (IP3) where the answers address is the address of LTMs (IP1/2). I have a map of the translation of LTMs to fake IPs. It means LTM IP1= fake IP11, LTM IP2 =fake IP22. So, the DNS standart query should be changed where the answers address is the fake IP11 instead of IP1 or the fake IP22 instead of IP2. As far as I understand It's possible to make by iRULES. After creating the iRULES It should be added to the wide IP. The DNS_RESPONSE should be used. Can you help me to write iRULE for this case.
1 Reply
- Hamish
Cirrocumulus
You're in luck. There's an iRule in the codeshare for this. -> GTM Translation
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com