Child pages
  • Add a DNS Zone

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include Page
LIB:_74Version
LIB:_74Version

(WHM >> Home >> DNS Functions >> Add a DNS Zone)

Table of Contents
stylenone

Overview

This feature allows you to set up a DNS zone on your server. A DNS zone is an administrative space or portion of the domain name system. The records in that space direct traffic to the correct locations.

The system creates zone files from a template. To edit the templates that the system uses to create zone files, use WHM's Edit Zone Templates interface (WHM >> Home >> DNS Functions >> Edit Zone Templates).

When you add a domain to your server, WHM automatically configures its DNS zone. You can also use this interface to add DNS zones for remote domains.

Warning
titleWarning:

Exercise caution when you add a DNS zone. Incorrect DNS data can prevent a visitor's access to a domain.

Create a DNS zone

To add a DNS zone, perform the following steps:

  1. Under Domain Selection, enter the IP address in the IPv4 Address text box.
  2. Enter the domain name in the Domain text box.
  3. If you wish to associate the DNS zone with a specific domain, select that domain from the Associate with Account list.
    • To search the list, enter a partial domain or username in the Search text box under the Account Search heading.

      Note
      titleNotes:
      • You cannot add multiple DNS zones for a single domain.
      • If an account appears in the Account Selection section, do not enter that domain in the Domain text box. Use WHM's Edit DNS Zone interface (WHM >> Home >> DNS Functions >> Edit DNS Zone) to modify an existing zone file.


  4. Click Add Zone.

Troubleshoot DNS zone issues

If you experience difficulties when you add DNS zones through this interface, run the following script from the command line as the root user:

Code Block
languagebash
/usr/local/cpanel/scripts/autorepair io_compress_gzip

Additional documentation

Localtab Group


Localtab
activetrue
titleSuggested documentation

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "dns" and label = "whm" and space = currentSpace()


Localtab
titleFor cPanel users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "dns" and label = "cpanel" and space = currentSpace()


Localtab
titleFor WHM users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "dns" and label = "whm" and space in (currentSpace(),"CKB")


Localtab
titleFor developers

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "dns" and space = "DD"