How to Install PowerDNS in WHM and CentOS

June 19, 2024 / How-to Guide

PowerDNS is a versatile and high-performance DNS (Domain Name System) server. It professionally manages domain name resolution, supports different database backends for storing DNS records, and can serve as both an authoritative and recursive DNS server. Its flexibility and robustness make it a prevalent choice for managing DNS infrastructure.

PowerDNS operates in two primary roles-

  • Authoritative Server: Handles queries only for domains it directly manages, offering authoritative answers.
  • Recursor: Does not store domain data but fetches answers from authoritative servers for client queries it receives.

Installation –

Installing PowerDNS via WHM –

  1. Log in to WHM.
  2. Select the “Service Configuration” option from the left-hand side menu.
  3. Click “Nameserver Selection”.
    Nameserver Selection
  4. Select ‘PowerDNS’.
  5. Click the ‘Save’ button.
    save

Installing PowerDNS on CentOS-

  1. Ensure MySQL services are running properly-
    $ service mysqld start
    $ chkconfig mysqld on
  2. Install and enable the EPEL repository-
    $ rpm -Uvh http://epel.mirror.net.in/epel/6/i386/epel-release-6-8.noarch.rpm
  3. Install PowerDNS –
    $ yum install pdns pdns-backend-mysql bind-utils
  4. Start the PowerDNS service-
    $ service pdns start
    $ chkconfig pdns on
  5. To edit the PowerDNS configuration file, open-
    $ vi /etc/pdns/pdns.conf
  6. Check if PowerDNS is functioning-
    $ dig @127.0.0.1
    or
    $ dig @localhost

Was not it simple? However, if you still have any difficulty, feel free to contact our support staff.

Dominos Search