Skip to main content
Skip table of contents

2584 - Testing Disaster Recovery Topology for DNS Traffic Control

This lab requires a NIOS 9.0 Lab Environment

This lab guide has been developed using the new NIOS 9.0 Lab Environment (experimental) lab. Please ensure that you deploy a NIOS 9.0 lab environment to complete these lab tasks. If you use a different lab environment, this is untested, and the lab likely will not work.

Scenario

Your organization is setting up a disaster recovery configuration using DNS Traffic Control (DTC) to improve resilience and maintain access to services during outages. The goal is to ensure that, if primary servers go offline, users are automatically redirected to backup servers in a secondary data center.

Estimate Completion Time

  • 15 to 25 minutes

Credentials

Description

Username

Password

URL or IP

Grid Manager UI

admin

infoblox

https://10.100.0.100/

Requirements

  • Administrative access to the Grid

Lab Initiation

Access jump-desktop

Once the lab is deployed, you can access the virtual machines required to complete this lab activity. To initiate the lab, click on the jump-desktop tile and login to the Linux UI:

Username: training

Password: infoblox

Initiate lab

To initiate the lab, double-click the Launch Lab icon on the Desktop.

Launch Lab

Launch Lab

Choose the lab number from the list and click OK.

After clicking OK, you will see a pop-up message with a brief description of the lab task. If the description looks correct, click Yes to continue lab initiation.

Lab initiation will take a couple of minutes to finish.

Once complete, you will see another pop-up message with the login credentials and the URL for the Grid Manager’s User Interface. Note that the credentials may differ from those from prior labs.

Screenshot 2024-05-06 at 3.16.57 PM.png

Tasks

Task 1: Set Up the Load-Balanced Domain Name (LBDN)

Create an LBDN for the pattern kenny.dtc.techblue.net configured with Global Availability as the load balancing method.

Task 2: Test the LBDN (Normal Conditions)

Use the Test LBDN tool to verify that the LBDN for kenny.dtc.techblue.net is functioning as expected.

For the test, use the following details:

  • Query Source: [Use any IP address]

  • Query Name: kenny.dtc.techblue.net

  • Member: ibns1.techblue.net

  • Record Type: A

Task 3: Simulate a Disaster Event

Disable the IPs in Pool A to test disaster recovery to simulate an outage. Log in to the Support-server VM, open a Terminal, and execute the dtc-remove-primary command. This will make Pool A servers (srvr1.dtc.techblue.net at 10.100.0.210 and srvr2.dtc.techblue.net at 10.100.0.220) unavailable, allowing you to verify that traffic is redirected to Pool B in Task 4.

Task 4: Test the LBDN (After Disaster)

Verify that the LBDN redirects traffic to Pool B after the simulated outage using the Test LBND Tool.


Solutions

Task 1 Solution: Set Up the Load-Balanced Domain Name (LBDN)

Set up the LBDN by following these steps:

  1. Navigate to Data Management → DNS → Traffic Control.

  2. Click the Add dropdown menu and select LBDN to open the DTC LBDN Wizard.

  3. In Step 1 of the wizard, enter the following details:

    • Display Name: DR Test

    • Patterns: Click + to add a new pattern, then enter kenny.dtc.techblue.net.

    • Load Balancing Method: Global Availability

      Screenshot_2024-11-13_12-32-44.png
  4. Click Next to proceed.

  5. In Step 2, verify that the following record types are selected:

    • A

    • CNAME

    • AAAA

  6. Click Add (+) and select the Associated Zone dtc.techblue.net, then click Next.

  7. In Step 3, click Add (+) to add Pool A and Pool B.

  8. Click Save & Close to complete the LBDN setup.

  9. When prompted, select Restart Services to apply the changes.


Task 2 Solution: Test the LBDN (Normal Conditions)

To test the configuration under normal conditions, follow these steps:

  1. Navigate to Data Management → DNS → Traffic Control.

  2. Select the LBDN DR Test.

  3. From the Toolbar, click Test LBDN to open the Test DTC LBDN (Web) tool.

  4. Enter the following test details:

    • Query Source: [Use any IP address]

    • Query Name: kenny.dtc.techblue.net

    • Member: ibns1.techblue.net

    • Record Type: A

  5. Click Start to initiate the test. Run the query a few times and observe the responses, which should be directed to Pool A (10.100.0.210 or 10.100.0.220).

Task 3 Solution: Simulate a Disaster Event

To simulate an outage for disaster recovery, follow these steps:

  1. Login to the VM Support-server with the following credentials:

    • Username: training

    • Password: infoblox

  2. Launch the Terminal on the Support-server.

  3. Execute the command: dtc-remove-primary. This command disables the IPv4 addresses for the server objects in Pool A (10.100.0.210 and 10.100.0.220).

    dtc-remove-primary.png

Task 4 Solution: Test the LBDN (After Disaster)

After simulating the disaster event, verify that traffic is redirected to Pool B:

  1. Navigate to Data Management → DNS → Traffic Control.

  2. Select the LBDN EA Test.

  3. From the Toolbar, click Test LBDN to open the Test DTC LBDN (Web) tool.

  4. Enter the following test details:

    • Query Source: [Use any IP address]

    • Query Name: kenny.dtc.techblue.net

    • Member: ibns1.techblue.net

    • Record Type: A

  5. Click Start to initiate the test. Run the query a few times and observe the responses, which should be directed to Pool B (10.200.0.210 or 10.200.0.220).

Note: To recover the primary data center server IPs, you may run the dtc-add command from support-server VM, which will re-enable srvr1.dtc.techblue.net and srvr2.dtc.techblue.net.




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.