Forum Discussion
madi_56757
Nimbostratus
Dec 05, 2006dynamic destination conditioned by dns query
hello all,
I have a question regarding my rule.
I get a lot of IPs of my DNS query and i like to forward my traffic to this addresses, or to one of this address, but not without the tes...
madi_56757
Nimbostratus
Dec 07, 2006hey,
What a bummber!
OK I think you had understand me correctly!
but is it possible to send the request to the fist address, and if this request failed use the second address!
and please, can somebody tell me how is the rule for the routine
when NAME_RESOLVED {
set ip [NAME::response]
log local0. "IP - $ip"
select all ip's because I can get a lot of!
on this point we have to find the routin
set ip1 [getfield $ip " " 1]
set ip2 [getfield $ip " " 2]
set ip3 [getfield $ip " " 3]
...
use node $ip1 80
if this request failed
use node $ip2 80
...
HTTP::release
}
thanks
Madi
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
