Forum Discussion
Chadwick_McInni
Nimbostratus
Jul 25, 2008node from NAME::response
I'm trying to select a node based on DNS resolution of [HTTP::host]. Using this iRule:
when HTTP_REQUEST {
NAME::lookup [HTTP::host]
}
when NAME_RESOLVED {
log local0. "[HTTP::host] IP is [NAME::response]"
node [NAME::response] 80
}
The LTM 9.3.1-HF3, nor 9.4.3-HF3, does not return an IP address for [NAME::response]. /var/log/ltm shows:
Jul 25 13:27:12 tmm tmm[1176]: Rule bigproxy-test : test.test.somehost.com IP is
http://devcentral.f5.com/wiki/default.aspx/iRules/NAME__response.html states "In early versions of LTM, some additional configurarion of LTM was required for iRules name resolution. This codeshare post has the details: http://devcentral.f5.com/wiki/default.aspx/iRules/DestinationSnatUsingDNS.html"
What versions are considered "early versions"?
Thanks!
Chad
1 Reply
- Nicolas_Menant
Employee
Hi,
You should be fine with those version.
The thing is, to make it work you will need to configure the DNS on the BIGIP. By default this will use named.
I would recommend to check SOL5299 on askF5: Click here
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