How to Install Technitium DNS Server on Alpine Linux

Introduction

Technitium DNS Server is a free, open-source DNS server that provides advanced DNS functionalities including DNS caching, zone transfers, and DNS blacklisting. In this tutorial, we will guide you on how to install Technitium DNS Server on Alpine Linux.

Prerequisites

Before we begin the installation process, you need to have the following:

Installation

Step 1 - Update the Package List

The first step is to update the package list of Alpine Linux. To do this, run the following command:

sudo apk update

Step 2 - Install Required Dependencies

To install Technitium DNS Server, you need to install some dependencies. For that, run the following command:

sudo apk add build-base openssl-dev zlib-dev

Step 3 - Download the Technitium DNS Server Package

Next, download the Technitium DNS Server package by running the following command:

wget https://github.com/TechnitiumSoftware/DnsServer/releases/download/v2.0/Technitium.Dns.Server.Core.2.0.tar.gz

Step 4 - Extract the Package

After downloading the package, you need to extract it. For that, run the following command:

tar -xf Technitium.Dns.Server.Core.2.0.tar.gz

Step 5 - Build and Install Technitium DNS Server

The next step is to build and install Technitium DNS Server. For that, navigate to the extracted directory and run the following commands:

cd Technitium.Dns.Server.Core/
sudo ./build.sh && sudo ./install.sh

The build.sh script will build the software and install.sh will install it on your system.

Step 6 - Start Technitium DNS Server

Finally, start the Technitium DNS Server by running the following command:

sudo systemctl start technitiumdns

To check the status of the server, you can run the following command:

sudo systemctl status technitiumdns

Conclusion

In this tutorial, we have shown you how to install Technitium DNS Server on Alpine Linux latest version. Now, you can use Technitium DNS Server to provide advanced DNS functionalities to your network.

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!