Forum Discussion
MK04_258228
Nimbostratus
Jun 20, 2016Help with DNS Irule logging
Hi , I have a 2 DC with 1 GTM each . I am facing a issue where my GTM is resolving all DNS request coming from inside the DCs ,either DC1 or DC2 to a WIDEIP : "wide-IP" in DC1 . I want to write an irule on the GTM that will log the GTM DNS activity when it receives a DNS request with source of DC2 .
Thanks, Mk.
2 Replies
- Vijay_E
Cirrus
Something like this (replace 10.10.10.10 with IP that you want to monitor):
when DNS_REQUEST { if { [IP::addr [IP::remote_addr] equals 10.10.10.10] } { log local0. "[IP::remote_addr] - [DNS::question name]" } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects