girishb
Aug 26, 2019Cirrus
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