Forum Discussion

Jonathan_Galent's avatar
Nov 17, 2016

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 th...
  • Jonathan_Galent's avatar
    Nov 18, 2016

    Duh... seems iApp creation is running in a tcl86 shell, this works:

     

    set ips [exec /usr/bin/dig $domainname +short]