Is there a way to apply an AFM policy dynamically via an irule based on source country? I used to have an irule that did this using data-group list now we use AFM on the any/any forwarder but we’ve found that blocking our dns listener is causing email failures for some email hosts (gmail) with overseas MTAs. I haven’t found a way to do this other than go back to an irule for that one listener. Thanks
Hi,
You can use country as AFM source. Why do you want to choose AFM policy in irule?
Hi,
This Irule will work for ltm with dns profile. You may be able to enable on arm rule.
when DNS_REQUEST {
switch [DNS::question type] {
"MX" - "SOA" - "NS" {
return
}
default {
DNS::header rcode NOERROR
DNS::return
}
}