Atomia DNS is an open-source DNS management tool that allows you to manage domains and resources in a flexible and scalable way. In this tutorial, we'll guide you through the steps to install Atomia DNS on NixOS Latest.
The first step is to install Atomia DNS on your NixOS Latest machine. Here's how to do it:
Open your terminal and navigate to your NixOS Latest server.
Run the following command to update your system's package list:
sudo nix-channel --update
Install Atomia DNS by running the following command:
sudo nix-env -i atomia-dns
After installing Atomia DNS, the next step is to configure the tool to work with your domain name.
Open the configuration file using your preferred text editor:
sudo nano /etc/atomia/atomiadns.conf
Edit the file so that it contains the following information:
[general]
systemmode = production
[database]
type = mysql
host = localhost
port = 3306
username = root
password =
database = atomiadns
[server]
hostname = your_domain.com
port = 53
[webserver]
hostname = your_domain.com
port = 80
Note: Be sure to replace "your_domain.com" with your actual domain name.
Save and close the file.
The final step is to start the Atomia DNS service. Here's how to do it:
Run the following command to start the service:
sudo systemctl start atomiadns
Verify that the service is running by running the following command:
sudo systemctl status atomiadns
If the service is running, you should see a message indicating that it is active.
● atomiadns.service - Atomia DNS Server
Loaded: loaded (/etc/systemd/system/atomiadns.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-08-17 11:18:46 UTC; 37s ago
Main PID: 126756 (perl)
Congratulations! You have successfully installed and configured Atomia DNS on your NixOS Latest server. You can now start using the tool to manage your domain names and resources.
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!