iRule for recursive DNS redirect
Background:
I modified the root hints on my GTM (http://support.f5.com/kb/en-us/solu...l8380.html) to specify two different root servers instead of the 13 root servers at root-servers.net. I realize this may seem odd, but our recursive queries need to be sent to these two servers for reasons unnamed.
I'm looking into building an iRule that does the following:
1. Checks the status of active members in a pool (this I know how to do), and that pool would contain both aforementioned root servers
2. If the status of the pool is up, then do nothing out of the ordinary. Simply direct recursive queries to those two root servers (this will happen on its own).
3. If the status of that pool is down, then direct recursive queries somewhere else, for example a.root-servers.net (I have not found a way to do this)
Has anyone done something like this, or know of a better way to accomplish what I am trying to do?
- Cory