This tutorial will guide you through the process of installing PDNS Gui on NixOS Latest. PDNS Gui is a web-based graphical user interface for the PowerDNS authoritative nameserver.
Before proceeding with the installation, you need to have the following:
PDNS Gui requires several dependencies to function correctly. You can install them by running the following command:
sudo nix-env -i apache mariadb nodejs
apache
- A web server used to serve PDNS Gui mariadb
- A database management system used to store PDNS information nodejs
- The JavaScript runtime environment used to run PDNS GuiTo install PDNS Gui, you first need to download the source code from the official GitHub repository. You can do this by running the following commands:
cd ~
git clone https://github.com/odoucet/pdns-gui.git
cd pdns-gui
PDNS Gui requires some configuration before it can be used. You can do this by copying the config.example.json
file to config.json
and editing it to match your configuration:
cp config.example.json config.json
nano config.json
PDNS Gui can be installed by running the following command:
npm install
This will install all the necessary dependencies required to run PDNS Gui.
PDNS Gui can be started by running the following command:
npm start
This will start PDNS Gui on port 3000. You can access it by visiting http://server-ip:3000
in your web browser.
Congratulations! You have successfully installed PDNS Gui on NixOS Latest. You can now manage your PowerDNS authoritative nameserver using the easy-to-use web-based graphical interface.
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!