Forum Discussion
logging DNS queries locally
Hi Guys,
please, I need help in this, I have configured GTM as transparent cache server, I need to enable query/response locally on the BIG-IP.
3 Replies
- Vijay_E
Cirrus
Check out & DNS Logging.
- basemsousan1985
Nimbostratus
In fact, I wrote a simple iRule that worked smoothly, I need to send the result of this iRule to a syslog server, I noticed I have to use HSL API in my iRule, any help doing this
when DNS_REQUEST { log local0. "QUERY from ([IP::client_addr]) for ([DNS::question class] [DNS::question type] [DNS::question name])"}
when DNS_RESPONSE { log local0. "[IP::remote_addr] - LOCATION: [whereis [IP::remote_addr]] - QUESTION: [DNS::question name], [DNS::question type] - ANSWER: [DNS::answer]"}
- basemsousan1985
Nimbostratus
Guys, please, check this issue, when I use hsl in my irule, I couldn't notice any logs recived by the syslog server, how can I troublshoot hsl irule
when CLIENT_ACCEPTED { set hsl [HSL::open -proto UDP -pool Log_Pool] } when DNS_REQUEST {
HSL::send $hsl "<190> LDNS: [IP::client_addr]) for ([DNS::question class] [DNS::question type] [DNS::question name]" }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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