Atomia DNS is a powerful, open-source DNS server that is easy to use and customize. Here's how to install it on your Ubuntu Server:
Before beginning, ensure that:
First, update the default Ubuntu repositories by running this command:
sudo apt-get update
Atomia DNS requires a number of dependencies to run properly. Install them by running:
sudo apt-get install libssl-dev openssl libyaml-dev libev-dev libprotobuf-c-dev protobuf-c-compiler libpcre3-dev build-essential
Download the latest version of Atomia DNS from the official website:
wget http://dl.atomiadns.com/snapshots/atomiadns.tar.bz2
Now, extract the downloaded archive to a directory of your choice:
tar xvf atomiadns.tar.bz2
To compile Atomia DNS, navigate to the directory where you extracted the files, and run:
./configure && make && sudo make install
Next, create a configuration file for Atomia DNS:
sudo nano /usr/local/etc/atomiadns/atomiadns.conf
Inside the file, specify the IP address of the DNS server and the domain name you want to use:
{
"server": {
"listen": ["0.0.0.0:53"],
"ip_address": "10.0.1.1",
"hostname": "example.com"
},
"database": {
"type": "sqlite",
"filename": "/etc/atomiadns/atomiadns.sqlite"
},
"logging": {
"level": "info"
}
}
Start the Atomia DNS service by running:
sudo systemctl start atomiadns
For the Atomia DNS service to start automatically during system boot, run:
sudo systemctl enable atomiadns
That's it! You have successfully installed Atomia DNS on your Ubuntu Server. You can now use it as a powerful and customizable DNS server.
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!