How to Install SmartDNS on Fedora CoreOS Latest

In this tutorial, we will go through the steps on how to install SmartDNS on Fedora CoreOS Latest, which is available on https://github.com/pymumu/smartdns.

Prerequisites

Before we start the installation process, make sure you have the following prerequisites:

Installation Process

The installation process of SmartDNS on Fedora CoreOS Latest requires the following steps:

Step 1: Install git

To download SmartDNS from Github, we need to have git installed. Run the following command to install git:

sudo dnf install git

Step 2: Clone the SmartDNS Repository

Clone the SmartDNS repository from Github using the following command:

git clone https://github.com/pymumu/smartdns

The command will create a folder called smartdns in your working directory that contains the necessary files for the SmartDNS setup.

Step 3: Install SmartDNS

Go to the smartdns directory using the following command:

cd smartdns

Then, run the make command to build and install SmartDNS:

sudo make install

Step 4: Configure SmartDNS

After the installation is complete, the next step is to configure SmartDNS. The configuration file is located at /usr/local/etc/smartdns/smartdns.conf. You can use any text editor to modify this file according to your needs.

sudo nano /usr/local/etc/smartdns/smartdns.conf

Step 5: Start SmartDNS

Start SmartDNS using the following command:

sudo systemctl start smartdns

To make sure that SmartDNS starts automatically on system boot, run the following command:

sudo systemctl enable smartdns

Step 6: Test SmartDNS

To test the SmartDNS setup, run the following command:

dig google.com @127.0.0.1 -p 5335

This command will send a DNS query to the SmartDNS server listening on port 5335. If the query is successful, you should see the following response:

;; ANSWER SECTION:
google.com.		299	IN	A	142.251.46.14

Conclusion

Congratulations! You have successfully installed and configured SmartDNS on your Fedora CoreOS Latest system. You can now use SmartDNS as an alternative DNS resolver on your computer.

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!