CentOS Web Panel Default DNS Setup

CentOS Web Panel (CWP) features a built-in DNS Management tool that allows controlling the DNS without worrying about complex BIND server setup. It offers this through a tool called FreeDNS. The guide will go over the CentOS Web Panel Default DNS Setup process to help you get started with managing your DNS through CWP.


CentOS Web Panel Installed – CentOS Web Panel Initial Setup Completed.

Enabling FreeDNS

By default, the nameservers on CentOS Web panel are set to ns1.centos-webpanel.com and ns2.centos-webpanel.com. This is correct for the purposes of this guide. We will need to perform a few steps to make this work for our domains.

DNS Functions Dropdown
FreeDNS Manager Link

Step 1: Navigate to the FreeDNS management page and create an account. Click and then click the link. Use the Click Here to register link to setup an account if you do not already have one. If you already have an account setup, login and skip to step 3.

FreeDNS Home Page

Step 2: Fill in the details of your user account you wish to create.

Register User Free DNS
  1. Username to use to login
  2. New Password
  3. Confirm the Password
  4. Enter the email address

When you successfully create an account, it will redirect you to the login page. If you arrive at a page that states the user exists already, click the back button on your browser and try a different username.

Adding your first Zone

Step 1: Use the new username and password to login to the FreeDNS Manager. It will take you to the DNS Manager home page.

Step 2: Click Add Zone on the left menu. This is where we will add the domain you wish to control.

Click Add Zone Link

Step 5: Enter the details for the domain here. The default TTL times listed here will work for most uses. Feel free to modify them if you wish. Furthermore, you can fill in the IP address for the Web Server IP, Mail Server IP, and the FTP Server IP boxes. Filling in the boxes here creates the necessary DNS records for you, although it is not immediately necessary. You are able to do add these later if you do not add them now. Click Add zone when you are finished entering information to add the zone.

Add Zone to FreeDNS Manager

Step 6: Click the domain you just added. Afterwards, it will take you to to the Viewing Zone page.

Click the New Domain

You will see a page that looks like the screenshot below.

DNS Zone Page

This page shows a few key pieces of information.

  1. DNS Zone Test: This section shows the status of the DNS Zone. When you first add the zone, it will show errors. It is normal and is caused by DNS propagation delays. When the domain finishes propagating, it will show an “OK” message.
  2. Domain name servers are set to: This area may be blank, or it may contain outdated name servers. Name server changes can take up to 24 hours to fully propagate and be detected here.
  3. You need to set your domain name servers to: These are the name servers to provide your Domains Registrar. They will allow you to let your registrar know where to point the domains.

Finishing Up and Future Domains

Step 1: You can add, delete, or modify any DNS Records you need in the spaces below. Click the Commit Changes link to finalize the changes. Edits made will be lost if you do not click Commit Changes before leaving this page.

Edit DNS Records and Click Commit Changes

You have now setup DNS for your CentOS Web Panel. However, don’t forget to create any DNS Records for your domain here. Remember, adding a new domain to your CentOS Web Panel requires performing the steps in this guide again for the new domain.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Add Domains With CentOS Web Panel

When working with CentOS 7 Web Panel (CWP7), you may need to add a domain to an existing user....

Admin Email Creation within CentOS Web Panel

When using CentOS Web Panel, you will need to be able to manage emails when administering the...

Admin Email Management Within CentOS Web Panel

When using CentOS Web Panel as your server management portal, you will need to manage email...

CentOS 7 Web Panel Overview

A solid control panel is strongly desired for many Ch-center clients. In many cases, it may come...

CentOS Web Panel Antivirus Scan

Sometimes you need to run a virus scan on your server to make sure your files are not infected...