PDNS Gui is a web-based GUI for PowerDNS server. It allows you to manage DNS records and zones using a web interface. In this tutorial, we will guide you through the process of installing PDNS Gui on OpenSUSE Latest.
Before we begin, you should have the following:
PDNS Gui requires several software packages to be installed on your server. Run the following command to install the required dependencies:
sudo zypper in apache2 php7 php7-mysqlnd php7-curl
PDNS Gui is a GUI for PowerDNS server. Install PowerDNS server by running the following command:
sudo zypper in pdns
Clone the PDNS Gui repository from Github by running the following command:
git clone https://github.com/odoucet/pdns-gui.git
Move the PDNS Gui directory to your Apache web root directory:
sudo mv pdns-gui /srv/www/htdocs/
Change the ownership of the PDNS Gui directory to the Apache user:
sudo chown -R wwwrun:www /srv/www/htdocs/pdns-gui
Create a new Apache configuration file for PDNS Gui:
sudo nano /etc/apache2/conf.d/pdns-gui.conf
Add the following lines to the file:
Alias /pdns-gui /srv/www/htdocs/pdns-gui
<Directory "/srv/www/htdocs/pdns-gui">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
Save and close the file.
Restart Apache to apply the changes:
sudo systemctl restart apache2
Open a web browser and type the server's IP address or hostname followed by /pdns-gui
in the address bar.
Example: http://192.168.100.10/pdns-gui
You should see the PDNS Gui login page. Enter the PowerDNS server's database credentials to continue.
Congratulations! You have successfully installed PDNS Gui on OpenSUSE Latest.
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!