Forum Discussion

dududa_25099's avatar
dududa_25099
Icon for Nimbostratus rankNimbostratus
Jul 15, 2013

Direct DNS Requests to CNAME by country

Hi There

 

We are trying to create an iRule which redircts countreis to specific CNAME.

 

For exmaple: Requests which are coming from US would be redirected to usa.testdomain.com and other countries to others.testdomain.com

 

Does anyone has a suggestion how this can be achivied?

 

Thanks

 

Dudu.

 

 

1 Reply

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus
    dududa,

     

     

    You could possibly use the "whereis" command in an iRule.

     

     

    See the following for pointers:

     

     

    https://devcentral.f5.com/wiki/irules.whereis.ashx

     

    https://devcentral.f5.com/community/group/aft/2164666/asg/50

     

     

    Hope this helps,

     

    N