Topic

This article guides you through a quick BIG-IP DNS Round Robin deployment. There are many more BIG-IP DNS configuration options available to customize to the needs of your network and applications, and these are detailed further in the documents linked in the Supplemental Information section of this article.

You should consider using this procedure under the following conditions:

  • You want to provision and deploy a BIG-IP DNS system in your environment.
  • You want to configure BIG-IP DNS Round Robin load balancing.

Description

The BIG-IP DNS system performs global server load balancing (GSLB), whereby the system distributes name resolution requests to data centers in various geographical locations using a defined load balancing method. This article describes how to provision the BIG-IP DNS module and configure Round Robin load balancing between two data centers.

The Round Robin load balancing algorithm distributes DNS name resolution requests in a sequential pattern among the virtual servers in a pool or among pools in a multiple pool configuration. Over time, each virtual server receives approximately the same number of requests. Using the Round Robin load balancing is useful when you want to distribute requests equally among all resources.

Round Robin load balancing example

The web site www.example.com is hosted in two geographically separate data centers, Data Center1 - West Coast and Data Center2 - East Coast. In this example, BIG-IP DNS provides GSLB Round Robin load balancing for two BIG-IP LTM virtual servers, one located in Data Center1 and the other located in Data Center2, as shown in the following figure:

Round robin load balancing

Figure: User and data center interactions for www.example.com

The figure shows the following actions:

  • You query the ISP's LDNS for the IP address for www.example.com.
  • The LDNS uses recursion to query the authoritative DNS hierarchy to get the answer, starting with the root DNS servers.
  • The LDNS queries the BIG-IP DNS in Data Center1, which is acting as the authoritative DNS server for the example.com domain.
  • The BIG-IP DNS uses Round Robin load balancing to distribute DNS name resolution requests in the following sequential pattern:
    1. The first connection goes to the virtual server in Datacenter1 (192.0.2.100).
    2. The second connection goes to the virtual server Datacenter2 (198.51.100.100).
    3. The third connection goes back to Datacenter1 (192.0.2.100).
    4. The fourth connection goes Datacenter2 (198.51.100.100).

Quick deployment details

You can set up and deploy BIG-IP DNS into your network to perform GSLB Round Robin load balancing using the following procedures:

Prerequisites

You must meet the following prerequisites to use this procedure:

  • You have configured the following configuration elements on the BIG-IP DNS:
    • Network components, such as VLANs, self IP addresses, and routes.
    • Administrative components, such as network time protocol (NTP), the management IP address, and licensing.
  • You have access to the Configuration utility.

Procedures

Provisioning the DNS module

In resource provisioning, you define how the system allocates resources to a BIG-IP module.

Quick configuration facts

  • You provision resources for the BIG-IP module after you install the license.
  • You configure the BIG-IP module after you provision it; otherwise, you lose the system configuration when you provision the system.

Impact of procedure: Performing the following procedure should not have a negative impact on your system.

  1. Log in to the Configuration utility.
  2. Go to SystemResource Provisioning.
  3. In the Provisioning column, select the one of the following options for the Global Traffic (DNS) module:
    • Dedicated: The system allocates all resources to one module; the system allocates no resources to other modules.
    • Nominal: The system initially allocates the least amount of resources required and then allocates additional resources after all modules are enabled.
    • Minimum: The system allocates the least amount of resources required. No additional resources are ever allocated to the module.
  4. Select Submit.
  5. After making the necessary provisioning changes, go to System > Configuration > Device.
  6. To restart the system, for Operations, select Reboot.
  7. When prompted, select OK to confirm restart.

Configuring listener addresses

A listener IP address listens for DNS packets on the port and the IP address you specify, and either handles the request directly or forwards the request to the appropriate resource.

Quick configuration facts

  • You create a listener object for each protocol and port for which you want the DNS system to process traffic.
  • You use the non-floating self IP address of the BIG-IP DNS system or an unused IP address as the listener address.

Impact of procedure: Performing the following procedure should not have a negative impact on your system.

  1. Log in to the Configuration utility.
  2. Go to DNS > Delivery > Listeners.
  3. Select Create.
  4. Enter a name for the listener.
  5. For Destination, enter the listener IP address.
  6. Under Service, for Protocol, select either UDP or TCP.
  7. Select Finished.
  8. To enable an IP address to be a listener for both UDP and TCP, repeat the previous steps using the same IP address and creating a listener for each of the protocols.

Configuring the data center

The data center object represents the resources that resides in a specific geographic location on your network.

Quick configuration facts

  • You define a data center to represents each geographic area in which your web site is hosted.
  • The system indicates the status of the data center as Unknown until you assign resources to it.
  • A prober is a BIG-IP device assigned to probe resources, such as servers and links, in the data center.

Impact of procedure: Performing the following procedure should not have a negative impact on your system.

  1. Log in to the Configuration utility.
  2. Go to DNS > GSLB > Data Centers.
  3. Go Create.
  4. Enter a name for the data center.
  5. For Location, enter the geographic location of the data center.
  6. For Prober Preference, select the type of prober to use to monitor resources in the data center.
  7. For State, select Enabled.
  8. Select Finished.
  9. Repeat the previous steps for each data center object that represents the geographic area in which your site is hosted.

Configuring the BIG-IP DNS server

The DNS server object represents the BIG-IP DNS system itself in the GSLB configuration.

Impact of procedure: Performing the following procedure should not have a negative impact on your system.

  1. Log in to the Configuration utility.
  2. Go to DNS > GSLB > Servers > Server List.
  3. Select Create.
  4. Enter a name for the server. For example, BIGIP-DNS-1.
  5. For Product, select BIG-IP System.
  6. For Data Center, select the appropriate data center for this BIG-IP system.
  7. Under Devices, select Add.
  8. For Device Name, enter the name of the BIG-IP system.
  9. For Address, enter the non-floating (self IP) internet-facing NAT address of the BIG-IP system.
  10. For Translation, enter the non-floating (self IP) private network address of the BIG-IP system.
  11. For Link, select the appropriate ink. Select Auto-Select if you are unsure which option is appropriate.
  12. Select Add.
  13. Select OK.
  14. Under Configuration, for Health Monitors, in the Available list, select the BIG-IP monitor that you want to assign to the server and move it to the Active list.
  15. Under Resources, for Virtual Server Discovery select Disabled.
  16. For Link Discovery, select the appropriate value. Select  Disabled if you are unsure of the appropriate value.
  17. Select Finished.

Configuring BIG-IP LTM server

The BIG-IP LTM server object represents BIG-IP LTM systems in the GSLB configuration. The BIG-IP LTM server objects contain the virtual server IP addresses that are the ultimate destinations of DNS name resolution requests.

Quick configuration facts

  • You define a BIG-IP LTM server object for each BIG-IP LTM system to which the BIG-IP DNS system directs traffic, and define redundant device group members as a single server object.

Impact of procedure: Performing the following procedure should not have a negative impact on your system.

  1. Log in to the Configuration utility.
  2. Go to DNS > GSLB > Servers > Server List.
  3. Select Create.
  4. For Name, enter a name for the server object.
  5. For Product, select BIG-IP System.
  6. For Data Center, select the appropriate data center.
  7. For Prober Preference, select the appropriate prober types.
  8. Under Devices, for BIG-IP System Devices, select Add to create a device (server) and perform the following actions:
    1. For Device Name, enter a name.
    2. For Address, enter an external (public) IP address.
    3. Optional: If you use network address translation (NAT), for Translation, enter an internal (private) IP address.
    4. Select Add.
    5. Repeat steps 2 through 4 in this sub-procedure for each device group member in the Sync-Failover device group.
    6. Select OK.
  9. For Health Monitors, move the bigip monitor from the Available list to the Active list.
  10. For Virtual Server Discovery, select how you want virtual servers to be added to the system. For example, select Enabled if you want the system to automatically add and delete virtual servers.
  11. For Link Discovery, select how you want the system to add link objects. For example, select Enabled if you want the system to automatically add and delete links.
  12. Complete the remaining configuration sections.
  13. Select Finished.

Configuring generic server objects

Non-BIG-IP server objects contain the virtual server IP addresses that are the ultimate destinations of DNS name resolution requests.

Impact of procedure: Performing the following procedure should not have a negative impact on your system.

  1. Log in to the Configuration utility.
  2. Go to DNS > GSLB > Servers > Server List.
  3. Select Create.
  4. For Name, enter a name for the server object.
  5. For Product, select the appropriate server type.
  6. For Data Center, select the appropriate data center.
  7. For Prober Preference, select the appropriate prober types.
  8. Under Devices, for BIG-IP System Devices, select Add to create a device (server) and perform the following actions:
    1. For Device Name, enter a name.
    2. For Address, enter an external (public) IP address.
    3. Optional: If you use network address translation (NAT), for Translation, enter an internal (private) IP address.
    4. Select Add.
    5. Repeat steps 2 through 4 in this sub-procedure for each device group member in the Sync-Failover device group.
    6. Select OK.
  9. Under Configuration, for Health Monitors, move the bigip monitor from the Available list to the Active list.
  10. For Virtual Server Discovery, select how you want the system to add virtual servers. For example, select Enabled if you want the system to automatically add and delete virtual servers.
  11. For Link Discovery, select how you want the system to add link objects. For example, select Enabled if you want the system to automatically add and delete links.
  12. Complete the remaining configuration sections.
  13. Select Finished.

Running the bigip_add script

The bigip_add script exchanges SSL certificates with the remote BIG-IP LTM system so that the DNS system is able to establish iQuery connections to the BIG-IP LTM system.

Quick configuration facts

  • You should determine the self IP address of the BIG-IP system with which you want to establish iQuery communication.
  • The status of the BIG-IP LTM server should change to Available after you run the bigip_add script.

Impact of procedure: Performing the following procedure should not have a negative impact on your system.

  1. Log in to the BIG-IP DNS command line.
  2. Use the following command syntax:

    bigip_add <BIG-IP_self_IP_address>

Configuring the pool

The GSLB pool indicates the DNS record type, the load balancing method, and the members list, such as virtual servers.

Quick configuration facts

  • You need to key the GSLB pool and wide IP by query type since pool members need different attributes depending on the response RDATA they are meant to supply.

Impact of procedure: Performing the following procedure should not have a negative impact on your system.

  1. Log in to the Configuration utility.
  2. Go to DNS > GSLB > Pools > Pool List.
  3. Select Create.
  4. For Name, enter a name for the pool object.
  5. For Type, select the appropriate record type. For example: AAAA.
  6. Under Configuration, for Maximum Answers Returned, enter the maximum number of available virtual servers that you want the system to return in a response.
  7. Complete the remaining pool settings.
  8. Select Finished.

Configuring the wide IP

The wide IP maps a FQDN to at least one pool of virtual servers that host the domain's content.

Quick configuration facts

  • One or more GSLB pools must exist before you create a wide IP.
  • You can use wildcard characters in the wide IP name: asterisk (*) to represent several characters and question mark (?) to represent a single character.

Impact of procedure: Performing the following procedure should not have a negative impact on your system.

  1. Log in to the Configuration utility.
  2. Go to DNS > GSLB Wide IPs.
  3. Select Create.
  4. For Name, enter a name for the wide IP.
  5. For Type, select a record type for the wide IP.
  6. For Pools, for Load Balancing Method, select Round Robin.
  7. For Pool List, select the pools that the wide IP uses for load balancing.
  8. Select Add.
  9. Select Finished.