Eric_Oakeson_68
Mar 11, 2010Nimbostratus
GTM response irule
We have an iRule that gives out a summary of what IP it answered with, what the IP of the LDNS is, and what topology it thinks the client is in. I was wondering if anyone knows how to get the metric it used in there also, like RTT, Topology, etc.
Here is the iRule:
when LB_SELECTED { log local0. "LDNS;[IP::client_addr]; assigned;[LB::server addr]; request;[DNS::rrname]; topology;[whereis [IP::client_addr]]"}
Here is the the log output looks like:
Mar 11 15:10:32 VCOENG1-GTM-1 gtmd[2443]: Rule Log_DNS: LDNS;x.x.x.x; assigned;x.x.x.x; request;site.com; topology;{North America} US
We would like to have it tell us 'why' it handed out the "assigned" IP...can anyone help?