Forum Discussion
changewait1
Altostratus
May 20, 2025About DNS irule TCL error
Hi everyone, I'm encountering a TCL error when using an iRule on my BIG-IP DNS (GSLB) system. The error appears as follows: err tmm9[13024]: 01220001:3: TCL error: /Common/IRULE_LOGGING_RESPONSE <...
Injeyan_Kostas
Cumulonimbus
May 20, 2025You should use catch function
try something like this
when DNS_RESPONSE
{
set timestamp [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S"]
# log local0. "Client IP : [IP::client_addr] / F5 answer : [DNS::answer]"
set kt_hsl [HSL::open -publisher /Common/kt_publisher]
if {[catch {HSL::send $kt_hsl "$timestamp DNS RESPONSE / Client IP : [IP::client_addr] / F5 answer : [DNS::answer]"}]}
{
log local0. "ERROR: DNS RESPONSE FAILED"
}
}
- changewait1May 21, 2025
Altostratus
Thanks for your help.
Than, is the log issue caused by the failure of HSL::send due to a DNS RESPONSE failure?
If so, is it possible to identify the cause of the DNS RESPONSE failure through logs?- Injeyan_KostasMay 21, 2025
Cumulonimbus
The problem was that [DNS::answer] was't include a valid or parseable answer
You may collect the payload to check what is wrong
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