Forum Discussion
Ethan_Erchinger
Nimbostratus
Mar 09, 2006Snat pool choice based on destination URL
Hi,
We have a group of servers that make outbound HTTP requests to a partner. We'd like requests going to a specific uri, call it partner.com/a to come from a specific pool of addresses. R...
Ethan_Erchinger
Nimbostratus
Mar 12, 2006Sorry, I thought I had used the proper formatting. Honestly the "template" is a little skimpy on details..but whatever.
I have a little update on a problem we ran into with DNS lookup, I'll update the codeshare as well, but thought I'd complete the thread for completeness.
While DNS lookup does work as described in the below article, it only works correctly when the DNS lookup returns 1 IP.
http://devcentral.f5.com/Default.aspx?tabid=28&forumid=5&postid=6546&view=topic
To get around this limitation we found this to work nicely.
when NAME_RESOLVED {
set ::node [lindex [split [NAME::response] " "] 0]
node $::node 80
}This will take the first response from the DNS server and set the "node" variable to that IP. Otherwise $::node will be set to multiple IPs, and subsequent requests to that node will fail.
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
