Forum Discussion

songj1220's avatar
songj1220
Icon for Nimbostratus rankNimbostratus
Dec 07, 2018

Forward traffic to different gateway based on DNS resolved destination URL IPs

Hello,

 

I would like to know if iRule can DNS forward lookup and find destination IPs then forward traffic to different gateway. Technically, F5 lookup DNS for destination URL and resolve the associate IPs then send traffic to next hop gateway IP.

 

Thanks, James

 

  • You can use

     

    RESOLV::lookup

     

    to do the lookup.

     

    You can define multiple gateway pools and select the appropriate pool based on the resolved IP address.