Forum Discussion
Stanislas_Piro2
Jun 02, 2017Cumulonimbus
Hi,
Your irule is not optimized... look at this one:
when CLIENT_ACCEPTED {
set dnslist {10.1.1.1 10.1.1.12 10.2.2.4}
foreach dns $dnslist {
Check if the first list element was empty
if {[set dest [lindex [RESOLV::lookup @$dns -a "www.abc.com";] 0]] ne ""} {
Set Node IP based on DNS resolution
node $dest 443
break
}
}
}
another enhancement can be to use dns resolution in pool instead of this irule. it will create each member discovered with DNS.
to answer about TMM, each connection is handled by a different TMM. if you are working on a 6 TMM appliance, you may see in logs tmm0, tmm1, ... tmm6
but only one TMM request for each tcp connection.