Forum Discussion
Cisco_Crazy_110
Oct 07, 2012Nimbostratus
Thanks Hamish. I actually tried the following irule as it exactly met my requirements and is working fine. Let me know if there are any issues with this:
when LB_SELECTED {
if { [DNS::rrname] eq "WIDE-IP.xx.com" } {
if { [LB::server addr] equals "10.X.X.X" } {
host 90.Y.Y.Y
} elseif { [LB::server addr] equals "10.Y.Y.Y" } {
host 92.Y.Y.Y
}
}
}