Forum Discussion

Chadwick_McInni's avatar
Chadwick_McInni
Icon for Nimbostratus rankNimbostratus
Jul 25, 2008

node 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

  • 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