We have a new documentation site for cPanel & WHM! You can find our new documentation site at docs.cpanel.net.
We will continue to maintain our API documentation on this server.
To add a record, perform the following steps:
Click Manage next to the domain that you wish to modify.
To add DNS records to a subdomain, click Manage next to the parent domain.
Click the arrow next to Add Record to select a record type:
Add A Record — This record maps hostnames to IP addresses. A records allow DNS servers to identify and locate your website and its various services on the Internet. Without appropriate A records, your visitors cannot access your website, FTP site, or email accounts.
The system configures your DNS records so that visitors can resolve your website and its services, such as FTP and email. Only add A records when you add a service that cPanel & WHM or your service provider does not provide.
Add AAAA Record — This record maps hostnames to IPv6 addresses.
Add CAA Record — This record allows you to specify which certificate authority (CA) will issue an SSL certificate for a domain.
|Flag||Whether the CA will issue an SSL certificate if the CAA Resource Record contains unknown property tags. For more information about CAA record flags, read the RFC 6844 documentation.|
|Tag||The CAA record's property type.|
|Value||The CA's domain, or the CA's URL if you select the iodef element.|
If no CAA records exist for a domain, all CAs can issue certificates for that domain. If conflicting CAA records already exist, remove the existing CAA records or add one for the desired CA. For example, a CAA record for Comodo would resemble the following example, where For more information about a CA's requirements, read their documentation.
example.com represents the domain name:
If no CAA records exist for a domain, all CAs can issue certificates for that domain. If conflicting CAA records already exist, remove the existing CAA records or add one for the desired CA.
For example, a CAA record for Comodo would resemble the following example, where
For more information about a CA's requirements, read their documentation.
Add CNAME Record — This record creates an alias for another domain name, which DNS looks up. This is useful, for example, if you point multiple CNAME records to a single A record in order to simplify DNS maintenance.
You cannot point a CNAME record to an IP address.
Add DMARC Record — This record indicates the action for a mail server to take when it receives mail from your domain, but that message fails SPF and DKIM checks. If you select this option, the system creates a TXT record with a default DMARC record. The system also displays a form that allows you to specify the domain's DMARC policy (None, Quarantine, or Reject), as well as the following optional parameters:
If you do not specify a valid parameter, the system will not save the parameter when you create the record.
The action that the recipient's mail server should perform when it receives mail from a subdomain of this domain, but that message fails SPF and DKIM checks.
|DKIM Mode||The Domain Keys Identified Mail (DKIM) level that the system will enforce for the domain.|
|SPF Mode||The Sender Policy Framework (SPF) level that the system will enforce for the domain.|
The percentage of email messages that you wish for the system to filter.
This parameter's value defaults to 100.
|An integer value between 0 and 100.|
|Generate Failure Reports When|
The error reporting policy between the sender and receiver's Mail Transfer Agents.
|Report Format||The format that the system uses to report an email message's possible spam status.|
The amount of time, in seconds, that elapse between each aggregate email message report.
|A positive integer.|
|Send Aggregate Mail Reports To|
A comma-delimited list of URIs to which to send aggregate email message reports.
To add a size limit for the report, affix an exclamation point, a number, and a file size multiplier to the end of the URI. You can specify the following size multipliers:
If your URI includes a comma, you must URI-encode the comma.
|Send Failure Reports To||A comma-delimited list of URIs of which to send failure email message reports.|
Add SRV Record — This record provides information about available services on specific ports on your server.
The SRV record must point at a hostname with an A (or AAAA) record. You cannot point an SRV record at a CNAME record.
|Priority||The service record's priority value.||A positive integer that represents the target host's priority order.|
|Weight||The system uses this value to rank entries with the same |
A positive integer that represents the target host's weight against other hosts with the same Priority value.
|Port||The target host's port.|
A positive integer that represents a port number.
For a complete list of ports, read our How to Configure Your Firewall for cPanel Services documentation.
|Target||The service's target host.||A valid hostname.|
Add TXT Record — This record contains text information for various services to read. For example, TXT records can specify data for the SPF, DKIM, or DMARC email authentication systems.
Click the links below to view examples of each TXT record:
The TXT record text box accepts invalid data and does not issue a warning.
v=spf1 +a +mx +ip4:10.215.218.151 ~all
v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA14CK7pzW3Q4NHyJv/NIUG2vxuW8cDLnrQyjnpf0XQCHkFMnBdampzVG/T15U4P7W3YKImR6aF+QhM6WRZdXaOQqdkkkGc+VdYnH415ZikqSvfwSQ+n2fdIEVHvOkLyl/qSQkNhijtz48qb874keiYimo9Gsdg7mlhURImqPlL9zsGFcBpogmW00bnwmeiyeFbBY+d0QJRAelECpIbdWQfiCq1tUMm1pMGI5GHmnJVs3ToPvRoH2J4SQpOO91smkwaQPEEdLVXTMpLuKcvOOjotwzeVX5A4RBfuAaKjk7z0xdkTnsDivFJSqqNBLtT0v8cv6JjDgWZ8pYKBC65mdWxwIDAQAB;
Note: On servers that run CentOS 7, you may see a
named warning about the absence of SPF resource records on DNS.
bind-9.9.4-23.el7, which is an updated version of BIND that complies with RFC 7208. To resolve this issue, update your operating system to a version that contains the updated version of BIND. For more information, read the Red Hat Bugzilla case about SPF record errors.
On servers that run CentOS 7, you may see a
To manage SPF and DKIM records, use cPanel's Authentication interface (cPanel >> Home >> Email >> Authentication).
To edit a record, perform the following steps:
Click Manage next to the domain you want to modify.
To edit the DNS records of a subdomain, click Manage next to the parent domain.
To delete a record, perform the following steps:
Click Manage next to the domain you want to modify.
To delete the DNS records of a subdomain, click Manage next to the parent domain.
This feature erases any modifications that you made to your zone records. The system attempts to save the domain's TXT entries. We recommend that you record any changes that you wish to save before you use this feature.
To reset your DNS zone files, your systems administrator must enable the following features in WHM's Feature Manager interface (WHM >> Home >> Packages >> Feature Manager):
To reset your DNS zone files to the defaults that your hosting provider specifies, perform the following steps:
If this account owns more than one domain, click Manage next to the domain that you wish to reset.
To reset the DNS records of a subdomain, click Manage next to the parent domain.
DNSSEC adds a layer of security to your domains' DNS records. DNSSEC uses digital signatures and cryptographic keys to authenticate DNS responses. These digital signatures protect clients from various forms of attack, such as Spoofing or a Man-in-the-Middle attack.
To transfer an account with DNSSEC enabled domains, perform the following steps for each domain:
If you do not remove the old DS records from the registrar, the domains may produce DNS resolution issues due to invalid DNSSEC responses.
To enable DNSSEC for a domain, perform the following steps:
If this account owns more than one domain, click DNSSEC next to the domain you want to modify.
Click Enable. The system will generate a new DNSSEC key, and a new line will appear that contains the following information:
|Key Tag||An integer value that identifies the domain's DNSSEC record.|
|Algorithm||The record's encrypted signature.|
|Digest Type||The algorithm type that constructs the digest. Select the digest type that your registrar supports.|
|Digest||An alpha-numeric string that the algorithm generates.|
After you generate the domain's DNSSEC key, you must configure a Domain Server (DS) record with your domain registrar. Click the links below for DS record instructions with some of the most popular domain registrars.
To configure a DS record with GoDaddy, perform the following steps:
To configure a DS record with NameCheap, perform the following steps:
To configure a DS record with OpenSRS, perform the following steps:
To disable DNSSEC for a domain, perform the following steps:
After you disable DNSSEC, you must delete the DS record with your domain registrar. Click the links below for DS record instructions with some of the most popular domain registrars.
To delete a DS record with GoDaddy, perform the following steps:
To delete a DS record with NameCheap, perform the following steps:
To delete a DS record with OpenSRS, perform the following steps: