CyberPanel DNS Server Configuration

CyberPanel DNS Server Configuration

The Domain Name System (DNS) connects websites, email, and additional network services to a domain. That includes external applications like Shopify, Gmail, and the Sucuri web application firewall (WAF). Below we’ll cover how to manage CyberPanel DNS server settings.

Configure Default Nameservers

You should set default nameservers before adding websites. Otherwise, CyberPanel will assign nameserver (NS) records with nonexistent hostnames.

  1. Log into CyberPanel.
  2. On the left, select DNS > Config Default Nameservers.
    Set default nameserver records in CyberPanel
  3. Type up to four NS records (e.g. ns1.inmotionhosting.com and ns2.inmotionhosting.com).
  4. Save changes.

DNS changes may take up to 48 hours to propagate.

Create a Custom Nameserver Record

Your CyberPanel DNS server can create custom nameservers for a domain. This is popular among web hosting resellers for whitelabeling hosting services.

  1. On the left, select DNS > Create Nameserver.
    Create nameserver records in CyberPanel
  2. Type the domain name.
  3. Add the first nameserver hostname.
  4. Enter the hostname IP address.
  5. Add the second NS record.
  6. Enter the second IP address.
  7. Select Create Nameserver.
  8. Create glue records.

Cloudflare Integration

Cloudflare is a popular content delivery network (CDN) with a feature-rich free version. CyberPanel has the ability to synchronize DNS changes so you don’t need to log into Cloudflare to update records as well. Note that DNS changes in Cloudflare will not be pushed to CyberPanel DNS zones.

  1. Log into Cloudflare.
  2. In the upper-right corner, select the user icon > My Profile.
  3. On the left, select API Tokens.
    Cloudflare API keys
  4. Under “API Keys,” select View on the right of “Global API Key.”
  5. Enter your password to get your API token key.
  6. In CyberPanel on the left, select DNS > CloudFlare.
    Integrate Cloudflare in CyberPanel
  7. Enter the email address for your Cloudflare account.
  8. Enter the Cloudflare API token.
  9. Select the drop-down menu to “Sync local Records to Cloudflare” and Enable.
  10. Select Save.

Configure the CyberPanel DNS Server

We cover how to edit DNS records in CyberPanel below.

  1. On the left, select DNS > Add/Delete Records.
  2. Select a domain from the drop-down menu to view DNS records.
    Edit A records in CyberPanel
  3. Create an A record by typing the name, time-to-live (TTL) in seconds, and IP address.
  4. Select Add to save the DNS record below.
  5. After changing existing A records in the list below, select the blue save icon on the right to apply changes.
  6. Create AAAA records if you have IPv6 addresses (InMotion Hosting does not provide IPv6 addresses).
  7. Select CNAME to modify DNS records such as “www” aliases.
  8. Select MX to update mail exchange records for external email hosting.
  9. Edit the TXT subsection includes DMARC, DKIM, SPF, and ownership verification records (the SPF record from the SPF tab has been deprecated for years) if necessary.
  10. Edit NS records to determine the authoritative DNS servers for records related to the domain if necessary.
  11. Modify the SOA record only if required.

The SRV record identifies systems that host specific services. The CAA record verifies certificate authority for SSL certificates. Neither is commonly implemented by small businesses.

Create a DNS Zone

The DNS > Create DNS Zone feature is generally for adding a domain that only needs DNS management or email hosting from your web server. It doesn’t create a home directory for the domain.

The Create DNS Zone did not work while testing CyberPanel version 2.3. If you need to manage a domain from the CyberPanel VPS, consider transferring the domain to your InMotion Hosting account.

You can remove DNS zones within the DNS > Delete Zone section.

Continue learning about how to get the most out of your CyberPanel server.

With our Cloud VPS plans, you can deploy a lightning-fast, reliable cloud platform with built-in redundancy – ensuring the availability of your environment!

Comments

It looks like this article doesn't have any comments yet - you can be the first. If you have any comments or questions, start the conversation!

Was this article helpful? Let us know!