Forum Discussion
Sep 11, 2024
Yes, that is possible.
You can use this irule (DNS irule):
when DNS_REQUEST {
if { ([DNS::question name] contains "service.domain.com") && ( [active_members pool1] > 0) } {
host IP1
} else {
host IP2
}
}
Replace IP1 and IP2 with the actual IP address.