RiverFish
Dec 04, 2013Altostratus
GTM iRule split DNS
Greetings!
I was hoping you guys could scrutinize this iRule. The goal is to have the GTM return internal addresses to internal DNS queries and public addresses to public DNS queries. I also want to avoid having to create "internal only" VSs and Pools on the GTM. I have the following questions:
- Will it even work?
- What if all pool members are down?
- Can you foresee any "gotchas"?
- Can you make it better?
I would create a unique iRule for each WIP like the following:
-formatting fail, see my last post in this thread-
Environment:
- Active/Active data centers. One in Dallas, the other in Ft. Worth.
- A GTM and an LTM at each location.
- Each GTM has WIPs that point to pools that contain both a Dallas and Ft. Worth member (GTM configs are synced).
- Each GTM pool member has an Address (public IP) and a Translation (LTM VIP).
- Dallas LTM VIPs = 172.10.20.x. Ft. Worth LTM VIPs = 10.10.20.x.