For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

girishb's avatar
girishb
Icon for Cirrus rankCirrus
Aug 26, 2019

Redirect dns resolution based source ip

Hi Team,

 

I need help

 

I need to iRules for redirect dns resolution based source ip/subnet for which weighted ratio LB method configured under pool for WIDE IP

 

Sample: rule:

when DNS_REQUEST {

if { [IP::addr [IP::client_addr] equals 10.10.10.0/24] } {

use pool GTM_pool1

} else {

cname www.redirect.domain.com

}

}

 

 In above example, instead of pointing to pool(GTM Pool1), want to point to Destination IP.

Thanks in advance

3 Replies