Skip to main content

Posts

How to Update ROOT Hints DNS ?

My WebServer DNS root zone file is outdated and it has no information about IPv6 and recently changed root server IP address. How do I update my root hints data file under CentOS 7 Server? Under Red Hat / CentOS / Fedora Linux, default location is /var/named/named.root, enter: # wget --user=ftp --password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /var/named/named.root Reload rndc to update information, enter: # rndc reload Another option is run dig command to fetch information: # dig +bufsize=1200 +norec NS . @a.root-servers.net > /var/named/named.root The root zone's nameservers change over time, don't assume this list is current. Always download a new version of db.cache once or twice year is sufficient. This article based on: Link 1   Link 2

CWP DNS Part 2 : How to Configure DNS properly for CentOS WebPanel on CentOS 7.6

7.Open Main Configuration file # vi /etc/named.conf 12 options { 13 listen-on port 53 { any; }; 14 listen-on-v6 port 53 { ::1; }; 15 directory "/var/named"; 16 dump-file "/var/named/data/cache_dump.db"; 17 statistics-file "/var/named/data/named_stats.txt"; 18 memstatistics-file "/var/named/data/named_mem_stats.txt"; 19 recursing-file "/var/named/data/named.recursing"; 20 secroots-file "/var/named/data/named.secroots"; 21 allow-query { any; }; 33 recursion no; 34 35 dnssec-enable yes; 36 dnssec-validation yes; 54 zone "." IN { 55 type hint; 56 file "named.ca"; 57 }; 58 59 include "/etc/named.rfc1912.zones"; 60 include "/etc/named.root.key"; 61

CWP DNS Part 1 : How to Configure DNS properly for CentOS WebPanel on CentOS 7.6

After hosting my parent domain on CWP7.admin, I am getting dns error and i'm not able access my server using my server FQDN but i can access using my server IP. So what can i do for that problem ? Yes, you have to fix the error . Environment Details: Distro Name: CentOS Linux release 7.6.1810 (Core) CentOS-Web Panel version: CWP7.admin CWP version: 0.9.8.757 WebServer: Apache Only FQDN: host.datahead.biz IP: 192.120.10.3 1.Change Hostname Permanently: # hostnamectl set-hostname host.datahead.biz # hostnamectl Static hostname: host.datahead.biz Icon name: computer-vm Chassis: vm Machine ID: 7400071490ea4f7d931374824ad4b52c Boot ID: 6e1f2d76495d4b318c25c4a1195aa130 Virtualization: vmware Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-862.14.4.el7.x86_64 Architecture: x86-64 It also writes this information to the /etc/hostname file as well. # ca

Part 2: CWP Basic Configuration after Fresh Installation

7. After hosting our first parent domain, We will restart the following service and observe the output # systemctl restart cwpsrv # systemctl restart httpd # systemctl restart named Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details. That's why my parent domain and below the link is not accessible : 8. Now We will fix the DNS ,  Go to DNS Functions >> List DNS Zones  >> Now click on the "Rebuild Zone" of Parent Domain 9.Now We will create A records for our Server FQDN & Name Server as like below: 10.Please restart the following : 11. Now our Parent domain and all the links are accessible, Please check 12.Restart the following services # systemctl restart cwpsrv # systemctl restart httpd # systemctl restart named 13.After Hosting your Parent domain, Don’t forget to fix the permission Go to User Account >&g

Part 1: CWP Basic Configuration after Fresh Installation

I am very impressed that you have successfully installed CWP on your system. Now you have to configure some basic configuration on it . So Lets get started . 1. At first you need to setup "Root Email"  To Set Root Email for alert & Shared IP :  Goto CWP Settings >> Edit Settings 2. I 'm going to use Apache WebServer only. Select From the left menu, WebServer Settings >> Select WebServers >> Apache Only For High Performance WebServer, Select Nginx + Virnish + Apache Now Click on Save & Rebuild Configuration 3.SetUp NameServers : Goto DNS Functions >> Edit Nameserver IPs 4.Create a Hosting Package :  Goto Packages >> Add a Package 5.Host your Parent domain that related to server FQDN :  Goto User Accounts >> New Account 6. Follow Part 2

How to Install CentOS WebPanel (CWP7.admin ) on CentOS 7.6

1.Requirements Before the Initialization of CentOS Web Panel (CWP) installer: a). Only support static IP addresses and Does not support dynamic, sticky, or internal IP addresses. b). CWP does not provide an uninstaller. After you install CWP, you must reinstall the server to remove it. c). Only install CWP on a freshly installed operating system without any configuration changes. Make Sure that you have performed Step 1 successfully 2.Software Requirements You must have a clean/fresh installation of supported operating systems: CentOS 6, RedHat 6 or CloudLinux 6, MINIMAL installation and English version only! CentOS 7 is also supported, we recommend minimal version. 3.Hardware Requirements 32 bit operating systems require a minimum of 512 MB RAM 64 bit operating systems require a minimum of 1024 MB RAM (recommended) Recommended System: 4 GB+ RAM so you would have the full functionality such as Anti-virus scan of emails. 4.Preparing Server : Let’s install required pac

Installation Perquisite for EFA/Cpanel/CWP7/VestaCP: Part 7 Install Latest EPEL Release

First, update your Base Repository for Cpanel/CWP7/VestaCP installation, then install latest EPEL # yum update -y Reboot The Machine # reboot # rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY* # yum -y install epel-release Run Update again & Check # yum update -y # yum repolist If you have getting any error then run: # yum clean all # rm -rf /var/cache/yum # yum update -y # yum repolist Don't need to install latest EPEL before EFA installation. We will install EPEL after EFA installation.