DNS

1 Introduction

Domain name system (DNS) servers match domain names like Kemptechnologies.com to their associated IP addresses, for example, 107.22.236.183. When you type kemptechnologies.com into your web browser's address bar, your computer contacts your current DNS server and asks what IP address is associated with kemptechnologies.com.

The KEMP LoadMaster is used to load balance the DNS workload. The LoadMaster offers advanced Layer 4 and Layer 7 server load balancing, SSL Acceleration and a multitude of other advanced Application Delivery Controller (ADC) features. The LoadMaster intelligently and efficiently distributes user traffic among the application servers so that users get the best experience possible. 

1.1 Document Purpose

This document provides the recommended LoadMaster settings used when load balancing the DNS workload. The KEMP Support Team is available to provide solutions for scenarios not explicitly defined. The KEMP support site can be found at: https://support.kemptechnologies.com

1.2 Intended Audience

This document is intended to be read by anyone who is interested in configuring the LoadMaster to optimize the DNS server.

1.3 DNS Server Template

KEMP has developed a template containing our recommended settings for DNS. You can install this template on the LoadMaster and use it when creating Virtual Services. Using a template automatically populates the settings in the Virtual Services, which is quicker and easier than manually configuring each Virtual Service. If needed, you can make changes to any of the Virtual Service settings after using the template.

Download released templates from the Templates section on the KEMP documentation page: http://kemptechnologies.com/documentation/.

For more information and steps on how to import and use templates, refer to the Virtual Services and Templates, Feature Description.

For steps on how to manually add and configure each of the Virtual Services, refer to the Configure the LoadMaster section of this document.

2 Architecture

Architecture.png

3 Configure the LoadMaster

The deployed DNS environment determines which of the following setups is used.

3.1 Enable Subnet Originating Requests Globally

It is best practice to enable the Subnet Originating Requests option globally.

In a one-armed setup (where the Virtual Service and Real Servers are on the same network/subnet) Subnet Originating Requests is usually not needed. However, enabling Subnet Originating Requests should not affect the routing in a one-armed setup.

In a two-armed setup where the Virtual Service is on network/subnet A, for example, and the Real Servers are on network B - Subnet Originating Requests should be enabled on LoadMasters with firmware version 7.1-16 and above.

When Subnet Originating Requests is enabled, the LoadMaster will route traffic so that the Real Server will see traffic arriving from the LoadMaster interface that is in that network/subnet not the Virtual Service address.

When Subnet Originating Requests is enabled globally, it is automatically enabled on all Virtual Services. If the Subnet Originating Requests option is disabled globally, you can choose whether or not to enable Subnet Originating Requests on a per-Virtual Service basis.

To enable Subnet Originating Requests globally, follow the steps below:

1. In the main menu of the LoadMaster Web User Interface (WUI), go to System Configuration > Miscellaneous Options > Network Options.

SCMONO002.png

2. Tick the Subnet Originating Requests check box.

3.2 Enable Check Persist Globally

It is recommended that you change the Always Check Persist option to Yes – Accept Changes. Use the following steps:

1. Go to System Configuration > Miscellaneous Options > L7 Configuration.

SCMOLC001.png

2. Click the Always Check Persist dropdown arrow and select Yes – Accept Changes.

3.3 Create the DNS Virtual Services

The following sections describe the recommended settings for the DNS Virtual Services.

3.3.1 Create a DNS Virtual Service

The following are the steps involved and the recommended settings to configure the DNS Virtual Service:

1. In the main menu of the LoadMaster Web User Interface (WUI), go to Virtual Services > Add New.

Create a DNS Virtual Service.png

2. Type a valid Virtual Address.

3. Type 53 as the Port.

4. Enter a recognizable Service Name, such as DNS Virtual Service.

5. Select udp as the protocol.

6. Click Add this Virtual Service.

7. Configure the settings as recommended in the following table:

Section

Option

Value

Standard Options

Force L4

Disabled

 

Subnet Originating Requests

Enabled

 

Idle Connection Timeout

180

8. Add the Real Servers:

a) Expand the Real Servers section.

b) Click Add New.

c) Enter the address of the relevant Real Server.

d) Complete the other fields as required.

e) Click Add this Real Server then click OK to the pop-up message.

f) Repeat the steps above to add more Real Servers as needed, based on your environment.

3.3.2 Create a DNS TCP Virtual Service

The following are the steps involved and the recommended settings to configure the DNS TCP Virtual Service:

1. In the main menu of the LoadMaster WUI, go to Virtual Services > Add New.

Create a DNS TCP Virtual Service.png

2. Type a valid Virtual Address.

3. Type 53 as the Port.

4. Enter a recognizable Service Name, such as DNS TCP Virtual Service.

5. Click Add this Virtual Service.

6. Set the Idle Connection Timeout to 180.

7. Add the Real Servers:

a) Expand the Real Servers section.

b) Click Add New.

c) Enter the address of the relevant Real Server.

d) Complete the other fields as required.

e) Click Add this Real Server then click OK to the pop-up message.

f) Repeat the steps above to add more Real Servers as needed, based on your environment.

References

Unless otherwise specified, the following documents can be found at http://kemptechnologies.com/documentation.

Virtual Services and Templates, Feature Description

Document History

 

Date

Change

Reason for Change

Version

Resp.

Feb 2017

Initial draft

First draft

1.0

POC

July 2017 Minor changes Enhancements made 2.0 LB

 

 

 

Was this article helpful?

0 out of 0 found this helpful

Comments

Avatar
pcrotty07
Edited by pcrotty07