For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

AngryCat_52750's avatar
AngryCat_52750
Icon for Nimbostratus rankNimbostratus
Jul 05, 2015

GTM-DNS logging

i am trying to log only for a specific wide ip.. i want to see the requestors IP address..

what am i missing here...

when DNS_REQUEST {
  if { ([DNS::is_wideip] equals "example.apples.fruits.com") } {
    log local0. "Client: [IP::client_addr] Question:[DNS::question name] Type:[DNS::question type]"
  } 
}

i get the following error - 01070151:3: Rule [/Common/_gtm_irule] error: /Common/_gtm_irule:2: error: [wrong args][DNS::is_wideip]

2 Replies