Forum Discussion
Ken_Wong_48678
Sep 19, 2008Historic F5 Account
NAME::response question
I test an irule using NAME::response but never to make it works. Is there any mistakes?
I can log the hostname but there is nothing for the response. I run a tcpdump in LTM and see it...
spark_86682
Sep 19, 2008Historic F5 Account
Has the HTTP connection already closed by the time the DNS response gets back to the LTM? That would certainly cause this problem. Try something like:
when HTTP_REQUEST {
set myHostname [HTTP::host]
NAME::lookup $myHostname
log local0. "NAME: $myHostname"
HTTP::collect
}
when NAME_RESOLVED {
log local0. "NAME_RESOLVED: [NAME::response]"
HTTP::release
}
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
