Forum Discussion
Terrence
Dec 05, 2011Nimbostratus
dns lookups in an iapp template
I am having a hard time being able to get this working.
The application administrators use dns names to remember which servers host which applications, so I would like my nodes to be named a...
Brent_Blood_768
Dec 06, 2011Historic F5 Account
Yeah - exec is a TCL builtin. For iRules stuff like that isn't available, but in iApps we don't have those sorts of restrictions, so scripts have more of the capabilities of TCL available to them. I think as an admin user you can use any commands other than "interp", though as non-admins the available commands are restricted somewhat.
The web of course is a great place to find documentation about TCL and its builtin functions. In case you're running Debian in your dev environment, the "tcl-doc" package installs manpages for the built-in commands which can be really handy. For example, to see the doc for exec, at a shell I type:
man 3tcl exec
and this gives me everything I need to use that command.
Cheers,
-Brent
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