Forum Discussion
Sergio000_19532
Nimbostratus
Jan 19, 2018Datagroup into variable
Hi I am making an Irule and I need to set the value of a datagroup into a variable.
Something like this
set url [RESOLV::lookup @8.8.8.8 domains]
I want that the varaible url gets the value...
Darren_Walker_2
Cirrus
Jan 19, 2018I think this question answers what you need to do:
https://devcentral.f5.com/s/feed/0D51T00006i7ebKSAQ
he uses a foreach loop with the datagroup as the variables then you put your command set url, and whatever else after that.
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