Installing PDNS GUI on Ubuntu Server

This tutorial will guide you through the installation of PDNS GUI on Ubuntu Server. PDNS GUI is an open source web interface for the PowerDNS DNS server written in Python and Flask.

Prerequisites:

Before proceeding with the installation, you need the following:

Step 1: Install PowerDNS

First, we will install PowerDNS on our Ubuntu Server. Execute the following commands on your terminal:

sudo apt update
sudo apt-get install pdns-server

After installing, PDNS service will be started automatically.

Step 2: Install PDNS GUI

To install PDNS GUI on Ubuntu Server, follow these steps:

  1. Clone the PDNS GUI repository from Github:
git clone https://github.com/odoucet/pdns-gui.git
  1. Go to the cloned repository directory:
cd pdns-gui/
  1. Install the dependencies required for PDNS GUI:
pip3 install -r requirements.txt
  1. Set up the configuration file for PDNS GUI:
cp config.py.sample config.py
  1. Edit the config.py file with your preferred settings:
vim config.py
  1. Run the application:
python3 app.py

PDNS GUI will be available on http://localhost:5000/

If you want to access PDNS GUI from a remote machine, you need to allow traffic on port 5000. To do that, execute the following command:

sudo ufw allow 5000

That's it! You have successfully installed PDNS GUI on your Ubuntu Server.

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!