Atomia DNS is a powerful and flexible DNS management system that can be used to manage large-scale DNS deployments. In this tutorial, we will guide you through the process of installing Atomia DNS on Arch Linux.
Before we start the installation process, we need to install some dependencies which are required to run Atomia DNS:
sudo pacman -S mariadb mariadb-clients bind php php-fpm php-gd php-intl php-mbstring php-mysql php-pgsql php-sqlite php-xml gettext
We need to add the Atomia DNS repository to our system using the following command:
echo -e "[atomiadns]\nServer = https://packages.atomiadns.com/rpm/\$basearch/\n" | sudo tee /etc/pacman.conf.d/atomiadns.conf
Import the repository's public GPG key so we can verify the package signatures:
sudo pacman-key --recv-keys AD292C87009210C1D52425AFCBEBF04BCDC17A71
sudo pacman-key --lsign-key AD292C87009210C1D52425AFCBEBF04BCDC17A71
Update the package database to ensure that packages can be downloaded from the newly added repository:
sudo pacman -Syu
We can now install Atomia DNS and the WebGUI with the following command:
sudo pacman -S atomiadns atomiadns-webgui
Now we can start the MariaDB and the PHP FPM Services:
sudo systemctl start mariadb systemd-php-fpm
After the successful installation of MariaDB, we need to initialize the database with the following command:
sudo mysql_install_db --user=mysql --basedir=/usr/ --datadir=/var/lib/mysql
To start using Atomia DNS, we need to create a database and user account. Enter the following commands:
sudo mysql -u root
CREATE DATABASE atomia;
CREATE USER 'atomia'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON atomia.* TO 'atomia'@'localhost';
FLUSH PRIVILEGES;
exit;
We need to configure Atomia DNS using the atomiadns.conf
file. Here is an example configuration file:
[settings]
apiurl = http://localhost/apidns/
apisecret = '
apigroup = dnsadmins
dburl = mysql://atomia:password@localhost/atomia
bindkeyfile = /var/named/run-root/etc/bind-keydata
bindconfdir = /etc/bind
bindrndcfile = /usr/sbin/rndc
bindrndcconfdir = /etc
bindversion = 9.11
doltversion = 0.19.7
Finally, we can start the Atomia DNS and WebGUI Services:
sudo systemctl start atomiadns atomiadns-webgui
Congratulations! You have successfully installed and configured Atomia DNS on Arch Linux. You can now start using Atomia DNS to manage your DNS infrastructure.
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!