# PowerDNS

PanelAlpha users have the option utilize the "DNS Zone Editor". This option can be found under "My Hosting" tab in the client area. In order to make the feature work smoothly, you need to firstly set up a DNS server in the plan.

In case there is either cPanel, DirectAdmin or Plesk server set up as a DNS server, you do not have to configure a separate DNS server (in our case - PowerDNS) because cPanel, DA and Plesk (if properly configured beforehand!) may also play the role of the hosting server, email server and DNS server at the same time.

In case the "PanelAlpha Engine For Docker" is set up as DNS server, configuring powerDNS is obligatory as "PanelAlpha Engine For Docker" does not have other roles in contrast to for example cPanel.

# Configuration

To configure PowerDNS, proceed to your admin panel → Configuration → Servers → DNS Servers.

Press "Add DNS Server" button, a short form will appear.

Type in the DNS server name and then select PowerDNS from the type dropdown menu. Then API URL, API Key and Server fields will appear. Type in all the necessary data and press "Add Server" to confirm.

API URL - default URL http://POWERDNS_SERVER_HOSTNAME:8081/api/v1
API Token - use the token that you are using in the pddns.conf
Server - the same one as the one used in PowerDNS, by default that is localhost

PowerDNS configuration is now ready. You may now set PowerDNS server as DNS server per single plan.

To do so, proceed to: PanelAlpha admin area → Configuration → Plans → Edit Plan → DNS tab. There choose the DNS server type from the list of available. If previous steps have been successfully performed, PowerDNS server should be visible on the list, just select it and save the changes.