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...
I don't believe tmsh::run allows you to capture stdout, but exec will. Try something like this and I think you'll be able to move past where you are now:
set ips [exec dig +short $host]
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