Forum Discussion
Andy_Shaw_55687
Nimbostratus
Feb 23, 2009NAME_RESOLVED not firing
Dear Forum,
I'm trying to get DNS resolution working from within an iRule in v9.4.6.
I've based the rule on the example in https://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&postid=30059&view=topic with the changes to the tmm_base.tcl & named.conf files made.
The thing is, the NAME_RESOLVED event is not firing. i've put logging aroung the NAME::lookup command and the command is returning immediately. The log entry at the top of the NAME_RESOLVED event is not being written.
It seens that the dns resolution is failing somehow. Is there a log that this is captured in or am I missing something else?
Kind regards
Andy
- AZ_101139
Nimbostratus
Hi, - spark_86682Historic F5 AccountWhat you need to do is hold up HTTP processing until you've gotten a DNS response. The command to do that is "HTTP::collect". In NAME_RESOLVED, you can run "HTTP::release" to continue processing.
- L4L7_53191
Nimbostratus
I think you may need to issue an HTTP::release before you can use the node command. HTTP::collect will essentially keep the connection on the 'client' side, collect, and defer server-side activities until you HTTP::release in some other event (like NAME_RESOLVED). Someone please correct me if I am wrong here. - AZ_101139
Nimbostratus
Hi Matt, - AZ_101139
Nimbostratus
Hi,
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