nsedit is a simple but powerful DNS editor that allows you to manage DNS zones using a web-based interface. It is available on Github (https://github.com/tuxis-ie/nsedit/) and can be easily installed on MXLinux Latest using the following steps:
Before proceeding, make sure that your system meets the following requirements:
Open a terminal window on the MXLinux Latest system.
Clone the nsedit repository using the following command:
git clone https://github.com/tuxis-ie/nsedit.git
Navigate to the nsedit directory using the following command:
cd nsedit
Install the required dependencies using the following command:
sudo apt-get install libdbd-mysql-perl libapache2-mod-perl2
Create a new Apache virtual host file for nsedit using the following command:
sudo nano /etc/apache2/sites-available/nsedit.conf
Add the following lines to the file:
<VirtualHost *:80>
DocumentRoot /path/to/nsedit
ServerName nsedit.example.com
<Directory /path/to/nsedit>
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Replace /path/to/nsedit
with the path to nsedit directory, and nsedit.example.com
with your desired DNS name for nsedit.
Enable the new virtual host using the following command:
sudo a2ensite nsedit.conf
Restart Apache using the following command:
sudo systemctl restart apache2
Create a new database and user for nsedit using the following commands:
sudo mysql -u root -p
create database nsedit;
create user 'nsedit-user'@'localhost' identified by 'strong_password';
grant all privileges on nsedit.* to 'nsedit-user'@'localhost';
flush privileges;
exit;
Replace strong_password
with a strong password for the nsedit user.
Import the database schema using the following command:
mysql -u nsedit-user -p nsedit < ./data/database/schema.sql
Edit the config.cfg
file using the following command:
nano /path/to/nsedit/config.cfg
Replace /path/to/nsedit
with the path to nsedit directory.
Update the following lines in the config.cfg
file:
database_host = 'localhost'
database_port = 3306
database_user = 'nsedit-user'
database_password = 'strong_password'
Replace strong_password
with the password for the nsedit user.
Save and close the config.cfg
file.
Open a web browser and navigate to the nsedit URL (e.g. http://nsedit.example.com).
Log in using the default username and password:
username: admin
password: password
Change the default password for the admin user.
Congratulations! You have successfully installed nsedit on MXLinux Latest. Now you can manage your DNS zones using the web-based 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!
Alternatively, for the best virtual desktop, try Shells!