Forum Discussion

JustCooLpOOLe's avatar
JustCooLpOOLe
Icon for Cirrocumulus rankCirrocumulus
Nov 12, 2018

BIG-IP DNS and Redirects

So I have a requirement to redirect from one URL, , to another URL, . This would be easy on the LTM but this is around DNS records. We have as a Wide-IP A record which has a pool pointing to our LTM configuration so no issues there. The requirement is to take anything coming in with and change it to . Unfortunately, we don't have a LTM configuration for and we don't plan to. I was hoping that I could create a Wide IP for with no pools and add an irule that would send to . Is this possible?

 

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Is the requirement for a redirect (i.e. tell the browser to go somewhere else) or simply to resolve the service to a different address?

     

    A redirect for example tells the browser, to go somewhere else at the HTTP level. So the browser knows to change the FQDN it's accessing and expects the certificate presented to match the redirected name

     

    On the other hand just using DNS to resolve one name () to the address of . But if you're doing TLS then resolving one name to another service probably won't work. Unless you have a cert on the destination that will handle both its own and the other FQDN.

     

    But essentially yes. As far as directing the requests that should go to to go to , yes you can do that at the DNS level. Will it work? That depends.