{"id":946,"date":"2021-07-23T12:41:49","date_gmt":"2021-07-23T12:41:49","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/edit-dns-zone\/"},"modified":"2021-07-23T12:41:49","modified_gmt":"2021-07-23T12:41:49","slug":"edit-dns-zone","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/edit-dns-zone\/","title":{"rendered":"Edit DNS Zone"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\">\n<div id=\"versioned-article-header\">\n<p class=\"valid-version-info\"><em>Valid for versions 88 through the latest version<\/em><\/p>\n<\/div>\n<div id=\"version-select-group\" aria-label=\"select versions\">\n<h4>Version:<\/h4>\n<h4>82<\/h4>\n<h4>86<\/h4>\n<h4>88<\/h4>\n<\/div><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>This feature allows you to edit the records in a domain\u2019s DNS zone file.<\/p>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>\n<p>We <strong>removed<\/strong> this interface in cPanel &#038; WHM version 96. Use WHM\u2019s <em>DNS Zone Manager<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; DNS Functions &gt;&gt; DNS Zone Manager<\/em>). For more information, read our cPanel Deprecation Plan documentation.<\/p>\n<\/li>\n<li>\n<p>We <strong>deprecated<\/strong> the MyDNS and NSD nameserver software in cPanel &#038; WHM version 78 and plan to remove them in a future release. If you use either of these nameservers, we <strong>strongly<\/strong> recommend that you migrate to either the PowerDNS or BIND namesevers. For more information, read our cPanel Deprecation Plan documentation.<\/p>\n<\/li>\n<li>\n<p>You <strong>must<\/strong> configure your DNS records correctly to allow visitors to access the domains.<\/p>\n<\/li>\n<li>\n<p>DNS zones that reside on other <em>Write-only<\/em> DNS servers in a DNS cluster do <strong>not<\/strong> appear in this interface.<\/p>\n<\/li>\n<\/ul><\/div>\n<\/div>\n<p>To edit a DNS zone or view zone information, select the desired domain from the <em>Choose a Zone<\/em> to Edit menu and click  <em>Edit<\/em>. A new interface will appear.<\/p>\n<h2 id=\"zone-and-server-information\">Zone and server information<\/h2>\n<p>The top of the <em>Edit DNS Zone<\/em> interface displays the following zone and server information:<\/p>\n<ul>\n<li><em>cPanel first<\/em> \u2014 The cPanel &#038; WHM version and build number on which you created the DNS zone.<\/li>\n<li><em>update_time<\/em> \u2014 The Unix date and time of the last update to the zone file.<\/li>\n<li><em>Cpanel::ZoneFile::VERSION<\/em> \u2014 The zone file version that cPanel &#038; WHM uses.<\/li>\n<li><em>hostname<\/em> \u2014 The server\u2019s hostname.<\/li>\n<li><em>latest<\/em> \u2014 The current cPanel &#038; WHM version on the server.<\/li>\n<li><em>Zone file for<\/em> \u2014 The DNS zone\u2019s domain.<\/li>\n<li><em>$TTL<\/em> \u2014 The default time to live (TTL), in seconds. This value specifies how long clients cache DNS zone data.<\/li>\n<\/ul>\n<h2 id=\"edit-dns-zone\">Edit DNS Zone<\/h2>\n<p>The <em>Edit DNS Zone<\/em> interface displays a table of the domain\u2019s DNS entries in the following columns:<\/p>\n<ul>\n<li><em>Domain<\/em> \u2014 The domain name.<\/li>\n<li><em>TTL<\/em> \u2014 The DNS entry\u2019s TTL.<\/li>\n<li><em>Record Type<\/em> \u2014 The DNS record type.<\/li>\n<\/ul>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        You <strong>must<\/strong> set the Class value to IN for each DNS zone.\n    <\/div>\n<\/div>\n<h3 id=\"record-type\">Record Type<\/h3>\n<ul>\n<li><em>SOA<\/em> (Start of Authority record) &#8211; Contains authoritative information. Authoritative information includes the following information:\n<ul>\n<li>The authoritative nameserver\u2019s hostname.<\/li>\n<li>The server administrator\u2019s contact email with a period ( <code>.<\/code> ) in place of the <code>@<\/code> character.<\/li>\n<li>The following time-related data:<\/li>\n<li>The serial number, which includes the year, month, date, and time at which you last edited the record.<\/li>\n<li>The time interval during which clients wait before they refresh zone data.<\/li>\n<li>The time interval during which clients wait before they try again after a failed refresh attempt.<\/li>\n<li>The time interval that the record remains valid after clients refresh the zone data.<\/li>\n<li>The minimum TTL.<\/li>\n<\/ul>\n<\/li>\n<li><em>NS<\/em> (Nameserver record) &#8211; Identifies a domain\u2019s authoritative DNS servers.<\/li>\n<li><em>A<\/em> (IPv4 address record) &#8211; Matches a domain name to an IPv4 address.<\/li>\n<li><em>AAAA<\/em> (IPv6 address record) &#8211; Matches a domain name to an IPv6 address.<\/li>\n<li><em>MX<\/em> (Mail Exchange record) &#8211; Identifies the servers that handle mail for a domain. A preference number for each MX record determines in which order other mail servers use a domain\u2019s mail servers.\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        A lower preference number indicates a higher priority. A preference number of 0 indicates the highest priority.\n    <\/div>\n<\/div>\n<\/li>\n<li><em>CNAME<\/em> (Canonical name record) &#8211; Matches a domain name to an alias.<\/li>\n<li><em>CAA<\/em> (Certificate Authority (CA) Authentication) &#8211; Controls which CAs can issue SSL certificates for a domain.\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>\n<p>We <strong>strongly<\/strong> recommend that you add CAA records in this interface or via the following WHM API 1 functions:<\/p>\n<ul>\n<li>addzonerecord<\/li>\n<li>editzonerecord<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>The system stores these records in the RFC 3597 format. You can <strong>only<\/strong> add CAA records directly to your DNS zone file if you use the BIND nameserver.<\/p>\n<ul>\n<li>\n<p>MyDNS does <strong>not<\/strong> support CAA records.<\/p>\n<\/li>\n<li>\n<p>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.<\/p>\n<\/li>\n<li>\n<p>For example, a CAA record for Sectigo would resemble the following example, where <code>example.com<\/code> represents the domain name:<\/p>\n<pre><code>example.com. 86400 IN CAA 0 issue \"sectigoca.com\"\n<\/code><\/pre>\n<\/li>\n<\/ul><\/div>\n<\/div>\n<\/li>\n<\/ul>\n<h3 id=\"add-entries\">Add entries<\/h3>\n<p>Use the empty text boxes below the <em>Add New Entries Below this Line<\/em> heading to add new entries to the DNS zone.<\/p>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        You <strong>must<\/strong> configure your DNS records correctly to allow visitors to access the domains.\n    <\/div>\n<\/div>\n<p>After you enter the desired information, click <em>Save<\/em>.<\/p>\n<h3 id=\"set-a-separate-ip-address-for-the-domain-and-mail-server\">Set a separate IP address for the domain and mail server<\/h3>\n<p>If you change the IP address of the domain\u2019s A record, your mail server\u2019s IPv4 address also automatically changes. This occurs because the standard zone template uses a CNAME record to point the mail server to the domain\u2019s A record.<\/p>\n<p>To assign a different IPv4 address to the mail server, perform the following steps:<\/p>\n<ol>\n<li>\n<p>Change the MX record value to <code>mail.$domain.<\/code>, where <code>$domain.<\/code> represents the domain. For example, change <code>example.com.<\/code> to <code>mail.example.com<\/code>. <\/p>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n        You <strong>must<\/strong> include the trailing period after <code>mail.example.com<\/code>.\n    <\/div>\n<\/div>\n<\/li>\n<li>\n<p>Select <em>CNAME<\/em> from the <em>Record Type<\/em> menu.<\/p>\n<\/li>\n<li>\n<p>Click <em>Save<\/em>.<\/p>\n<\/li>\n<\/ol>\n<p>To change the zone template so that all new domains create MX records that assign your mail server a different IP address, use WHM\u2019s <em>Edit Zone Templates<\/em> interface (<em>WHM &gt;&gt; Home  &gt;&gt; DNS Functions &gt;&gt; Edit Zone Templates<\/em>).<\/p>\n<h3 id=\"configure-email-routing\">Configure email routing<\/h3>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>Misconfigured <em>Email Routing<\/em> settings can disrupt your ability to receive mail. If you are unsure which option to choose, contact your system administrator or hosting provider.<\/li>\n<li>This interface only displays email routing information for domains that this server hosts. It will <strong>not<\/strong> display routing information for domains that other servers host, such as through a DNS Clustering configuration.<\/li>\n<\/ul><\/div>\n<\/div>\n<p>To configure how your server routes mail for the selected domain, perform the following steps:<\/p>\n<ol>\n<li>\n<p>Select one of the following options under <em>Configure Email<\/em> Routing:<\/p>\n<ul>\n<li><em>Automatically Detect Configuration<\/em> \u2014 The system uses the following criteria to configure the email routing settings:<\/li>\n<li><em>Local Mail Exchanger<\/em> \u2014 The lowest numbered mail exchanger points to an IP address on this server.<\/li>\n<li><em>Backup Mail Exchanger<\/em>  \u2014 The lowest numbered mail exchanger points to an IP address not on this server.<\/li>\n<li>\n<p><em>Remote Mail Exchanger<\/em> \u2014 No mail exchangers point to an IP address on this server. <\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        If the configured Mail Exchange (MX) records do not resolve, automatic detection will <strong>not<\/strong> occur.\n    <\/div>\n<\/div>\n<\/li>\n<li>\n<p><em>Local Mail Exchanger<\/em> \u2014 The server always accepts mail for this domain. The system will deliver mail to the local mailbox.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        Choose this option if your server uses smart hosts or another gateway service to filter mail.\n    <\/div>\n<\/div>\n<\/li>\n<li>\n<p><em>Backup Mail Exchanger<\/em> \u2014 The server functions as a backup mail exchanger. The system will hold mail for this domain until a lower number mail exchanger becomes available.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        You <strong>must<\/strong> configure the primary MX record to point to the appropriate exchanger.\n    <\/div>\n<\/div>\n<\/li>\n<li>\n<p><em>Remote Mail Exchanger<\/em> \u2014 The server will not accept mail for this domain. The system sends all mail for this domain to the lowest numbered mail exchanger.   <\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        You <strong>must<\/strong> configure the primary MX record to point to the appropriate exchanger.\n    <\/div>\n<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Click <em>Change<\/em>.<\/p>\n<\/li>\n<\/ol><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Valid for versions 88 through the latest version Version: 82 86 88 Overview This feature allows you to edit the records in a domain\u2019s DNS zone file. Warning: We removed this interface in cPanel &#038; WHM version 96. Use WHM\u2019s DNS Zone Manager interface (WHM &gt;&gt; Home &gt;&gt; DNS Functions &gt;&gt; DNS Zone Manager). For &hellip;<\/p>\n","protected":false},"author":1,"featured_media":947,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/946"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=946"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/946\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/947"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}