How to Install SmartDNS on Fedora Server Latest

In this tutorial, we will guide you through the installation process of SmartDNS on Fedora Server Latest. SmartDNS is an open-source DNS server that can be used to level up your Internet experience. With it, you can speed up your streaming and browsing, avoid geo-restrictions, and keep your identity secure.

Prerequisites

Before we start with the installation, you should have these prerequisites:

Install SmartDNS

Here are the steps on how to install SmartDNS on Fedora Server Latest:

Step 1: Update the system

Before we start with the installation, let's make sure that our system is up-to-date. Open the terminal and run the following commands:

sudo dnf update

Step 2: Install prerequisites

Now that our system is up-to-date, we need to install some prerequisites for SmartDNS. Run the following command:

sudo dnf install epel-release

Step 3: Install SmartDNS

We will now download and install SmartDNS. Run the following command:

sudo dnf install smartdns

Step 4: Configure SmartDNS

After installation, we have to configure SmartDNS. You can edit the configuration file /etc/smartdns/smartdns.conf using your preferred text editor. Here's an example of the configuration file:

server {
    ipv4 8.8.8.8
    ipv6 2001:4860:4860::8888
}
server {
    label “localdns”
    bind 127.0.0.1
    ipv6 ::1
    cache-size 15000
}

After making the changes, save and exit the file.

Step 5: Enable and start SmartDNS

Finally, we have to enable and start SmartDNS. Run the following commands:

sudo systemctl enable smartdns
sudo systemctl start smartdns

You can check the status of SmartDNS using this command:

sudo systemctl status smartdns

You should see something like this:

● smartdns.service - SmartDNS resolver
     Loaded: loaded (/usr/lib/systemd/system/smartdns.service; enabled; vendor preset: disabled)
     Active: active (running) since Sat 2021-05-29 14:15:05 UTC; 5s ago
  Main PID: 26307 (smartdns)
     Status: "smartdns version “1.2022.01.15-2.el8” started, listening on 0.0.0.0#53 UDP/IPv4, 0.0.0.0#53 TCP/IPv4”
      Tasks: 1 (limit: 25014)
     Memory: 1.1M
        CPU: 37ms
     CGroup: /system.slice/smartdns.service
             └─26307 /usr/sbin/smartdns -f

May 29 14:15:06 fedora20.lan smartdns[26307]: [2022-01-15 16:15:06] started, resolving 3 domains, 6 ips

If you see “Active: active (running)”, SmartDNS is now installed and running on your Fedora Server Latest machine.

Conclusion

In this tutorial, we have successfully installed SmartDNS on Fedora Server Latest. We have also configured and enabled SmartDNS. With this, you can now enjoy faster browsing and streaming speeds, avoid geo-restrictions, and keep your online identity secure.

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!