How to install PDNS Gui on Debian Latest

PDNS Gui is an open-source tool used as a graphical user interface to manage PowerDNS. Here are the steps to install PDNS Gui on Debian:

Prerequisites

Step 1: Install required packages

Start by updating the system packages using the command:

sudo apt update && sudo apt upgrade

Install Node.js, npm and git using the following command:

sudo apt install curl git wget nodejs npm

Step 2: Clone PDNS Gui repository

Navigate to the desired directory and clone the PDNS Gui repository using git:

cd /opt
sudo git clone https://github.com/odoucet/pdns-gui.git

Step 3: Install dependencies

Navigate to the cloned directory and install the dependencies using npm:

cd pdns-gui
sudo npm install --production

Step 4: Configure PDNS Gui

You will need to edit the configuration file config/default.json to specify the PDNS API backend URI, API key, and port.

To edit the file, execute:

sudo nano config/default.json

Here is an example configuration:

{
    "ApiUri": "http://127.0.0.1:8081/api/v1/",
    "ApiKey": "your-secret-api-key",
    "HttpPort": 5000
}

Step 5: Start PDNS Gui

Use the command below to start PDNS Gui:

npm start

By default, PDNS Gui will listen on port 5000. Open your browser and navigate to http://server-ip-address:5000 to access PDNS Gui.

Conclusion

PDNS Gui is now installed and running, and you can use it to manage PowerDNS.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!