Forum Discussion
Scott_Larson
Nimbostratus
Jul 03, 2007Block until NAME::lookup returns?
For my iRule, I need to perform a reverse DNS lookup, and determine if a client IP is from a domain ending in .mil or .gov. This determines whether or not they need to authenticate. The authenticati...
Scott_Larson
Nimbostratus
Jul 05, 2007Ah yes, I thought of that too, and I tried that, but unfortunately that doesn't do it either, as the subsequent logic contains directives (HTTP and AUTH) which are not valid within the context of the NAME_RESOLVED event. Ghar!!!!!
Is there any way to "wait"? Sleep? pause the thread's execution for a second? I mean, I'm almost at the point where I'll put it in a busy wait loop until a global variable gets set in the NAME_RESOLVED event.
Why doesn't the LTM simply support a synchronous lookup? Can that be submitted as an enhancement request?
Any other ideas?
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