Forum Discussion

DanielPlasencia's avatar
DanielPlasencia
Icon for Altostratus rankAltostratus
Feb 10, 2020
Solved

F5 DNS - When at least 1 service in a DataCenter is down, is it possible to move all DNS responses to another Data Center?

I have 2 F5 BIG-IP DNS deployed in 2 geographically separated Data Centers. The current solution is configured to always respond with the IPs hosted in the first DataCenter for all services regardless of the origin of the DNS query.

 

However, what I want now is to configure the solution so that, as soon as at least 1 service of the first DataCenter is down, all the DNS responses will use the IPs of the second DataCenter.

 

For example:

 

DC1:

Serv1: 10.10.10.10

Serv2: 10.10.10.11

Serv3: 10.10.10.12

 

DC2:

Serv1: 10.20.20.10

Serv2: 10.20.20.11

Serv3: 10.20.20.12

 

When all services in the first Data Center are up, whenever someone asks for the IP of serv1, serv2 or serv3, the DNS response will be 10.10.10.10, 10.10.10.11 or 10.10.10.12. However, when serv1 in DataCenter 1 is down, all DNS responses change and now will be 10.20.20.10, 10.20.20.11 or 10.20.20.12 eventhough only serv1 in DataCenter 1 is down.

 

I have looked for some example of this configuration but I haven't been able to find one. Is there a guide or way to do this?

 

I'd really appreciate your help.

 

Thank you so much!

  • Hi,

    Have you seen this article?

    https://support.f5.com/csp/article/K62640222

     

    I think you can select all the wideips needed to make a "Distributed Application" with the datacenter dependency level setting.

     

    I hope it helps.

2 Replies

  • Hi,

    Have you seen this article?

    https://support.f5.com/csp/article/K62640222

     

    I think you can select all the wideips needed to make a "Distributed Application" with the datacenter dependency level setting.

     

    I hope it helps.