Atomia DNS is a popular open-source DNS management software that enables you to run your own DNS server. In this tutorial, we will guide you on how to install Atomia DNS on a Fedora Server Latest OS.
Before starting with Atomia DNS installation, you need to make sure that your Fedora server is up to date. Use the following command to update the system:
sudo dnf update
Atomia DNS requires some dependencies to be installed on your Fedora system. Use the following command to install the required packages:
sudo dnf install git make gcc-c++ cmake libcurl libcurl-devel boost boost-devel boost-system boost-thread boost-date-time boost-filesystem boost-regex boost-iostreams
Clone the Atomia DNS GitHub repository using the following command:
sudo git clone https://github.com/atomia/atomia-dns.git /opt/atomia-dns
After cloning the repository, navigate to the atomia-dns
directory:
cd /opt/atomia-dns
To install and configure Atomia DNS, use the following commands:
sudo make install
sudo make configure
sudo make finalize
These commands will install all the necessary Atomia DNS components and create the configuration file.
To configure Atomia DNS, you need to edit the named.conf
file located in the /etc
directory. Open the file using a text editor:
sudo vi /etc/named.conf
Update the following values in the named.conf
file:
example.com
with your domain name.localhost
with your server's IP address.zone "example.com" {
type master;
file "/var/named/example.com.zone";
allow-transfer { localhost; };
};
options {
directory "/var/named";
recursion no;
listen-on-v6 { none; };
listen-on { 127.0.0.1; your-server-ip-address; };
};
Save and close the file.
After configuring Atomia DNS, you can start the DNS server using the following command:
sudo systemctl start named
To make the Atomia DNS server start automatically on boot, enter the following command:
sudo systemctl enable named
In this tutorial, we learned how to install and configure Atomia DNS on a Fedora Server Latest OS. After installing and configuring Atomia DNS, you can manage your DNS records and provide DNS services to your clients.
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!