Hi Aaron,
I find that I can go around it by creating topology record "CGNO" from the GUI [Global Traffic ›› Topology : Regions] and add all IPs to it. Then I use the "matchregion" in my irule as the following:
when DNS_REQUEST {
if { [matchregion ldns CGNO]}{
host 1.1.1.1
log local2. "**** Request from [IP::client_addr]****"
}
else { host 2.2.2.2
log local2. "****Request from [IP::client_addr] ****"
}
}
I think using the "matchregion" in this example makes it easier to me and to my operation team to update subnets without touching the IRule.
matchregion page: http://devcentral.f5.com/wiki/default.aspx/iRules/matchregion.html
Thanks
-Wassim