in the end, we updated the irule to
when DNS_REQUEST {
set ldns [IP::client_addr]
if {
([string tolower [DNS::question name]] equals "x.x.x.com")}
{
if { [DNS::edns0 exists] &! [catch { DNS::edns0 subnet address }] } {
set gtm_ecs_address [DNS::edns0 subnet address]
set gtm_ecs_source [DNS::edns0 subnet source]
set gtm_ecs_scope [DNS::edns0 subnet scope]
set ldns $gtm_ecs_address
if {([class match $gtm_ecs_address equals condicion_A])}{
DNS::answer insert "[DNS::question name]. 10 [DNS::question class] [DNS::question type] 1.1.0.1"
DNS::return
}
else {
DNS::answer insert "[DNS::question name]. 10 [DNS::question class] [DNS::question type] 1.2.0.1"
DNS::return }
}
}
}
we feel like there is a feeling of slowness, can yhou confirm if normal behavior