Forum Discussion
Is there a way to use RESOLV::lookup in an iApp template?
Is there a way to use RESOLV::lookup in an iApp template? I am trying to resolve domain names during my iApp deployment - I see I could maybe use tmsh dig? I tried searching for any TCL packages that might be imported but can't seem to find the one that the irule engine uses.
Duh... seems iApp creation is running in a tcl86 shell, this works:
set ips [exec /usr/bin/dig $domainname +short]
This seems like it should work, but doesn't. Any other pointers are welcome.
set ips [tmsh::run util dig $domainname +short]
Duh... seems iApp creation is running in a tcl86 shell, this works:
set ips [exec /usr/bin/dig $domainname +short]
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