Master/Slave PowerDNS Replication on Nexi Panel Print

  • 0

Nexi Panel version v1.8.5 and above have the ability to configure Nexi Panel as either PowerDNS Master or Slave. For more details visit changelogs. In this guide, we will see how to configure Nexi Panel as Master or Slave.


Step 1: Configure Glue Records/Private Nameservers

Before configuring Nexi Panel, you need to register Glue Records (some registrars call them Private Nameservers or hostnames) at your domain registrar. You can read this article for more details.

In this tutorial we assume that:

  • ns1.Nexi Panel.xyz – 192.168.100.1 (Is your Master DNS server)
  • ns2.Nexi Panel.xyz – 192.168.100.2 (Is your Slave DNS server)

Configure them accordingly on your domain registrar using this guide.


Step2: Install Nexi Panel on both Servers

Install Nexi Panel on your Master and Slave servers.


Step 3: Configure Master Nexi Panel

Once Nexi Panel is installed, log in to your Nexi Panel dashboard and navigate to Manage Services -> Manage PowerDNS

->:8090/manageservices/managePowerDNS

It gives you the option to configure up to 3 slave servers. However we are going to configure only one. From dropdown select Master.

Slave Server 1 -> ns2.Nexi Panel.xyz (Your value here will be different according to your slave server).

Slave Server IP -> 192.168.100.2 (IP of your slave server).

Once done, click Save Changes, your master is now configured. You need to configure your slave so that it can accept DNS queries.


Step 4: Configure Slave Nexi Panel

Log into your slave Nexi Panel dashboard and navigate to -> :8090/manageservices/managePowerDNS

Here you will enter two things:

Slave Server -> This is the name of the slave server such as ns2.Nexi Panel.xyz

Master Server IP -> Don’t confuse it with Slave IP, you need to enter the IP of the master server here.

Once done click Save Changes.


Step 5: Confirm Replication is Working

Once all of the steps above are completed, open your Master Nexi Panel and create website, now go to your Nexi Panel Slave and make sure the zone is replicated there.

On slave you can also use this command to make sure that Master Nexi Panel is sending notifications to slave about newly created DNS zones:

  1. journalctl -f | grep pdns

Was this answer helpful?

« Back

Powered by WHMCompleteSolution