Guide: Manual Installation of Technitium DNS (.NET v10.0.7) on Arch Linux / CachyOS / Arch-based systems #1863
daedaevibin
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve noticed that the current AUR packages for Technitium and the .NET SDK are consistently out of date (OOD). While official repositories might offer
10.0.4or CachyOS repositories specifically offer10.0.6, the actual latest LTS is10.0.7(specifically.NET 10.0.203).version
10.0.7/10.0.203of the .NET SDK is required for Technitium version 15.0+.To bypass these versioning bottlenecks and ensure system stability, I’ve moved to a manual installation flow. Below is the process for installing the required dependencies and setting up the service with proper permissions.
Important
Note:
Many thanks to @ShreyasZare for making this incredible piece of software!
Service Configuration
I have heavily edited the systemd service file to improve reliability. You can find the original at
/opt/technitium/dns/systemd.service, but I recommend using my hardened version attached below.Important
Replace
/home/dae/.dotnet/dotnetin the service file with the correct path for your specific system or user (e.g.,/home/<user>/.dotnet/dotnet).(Note: the
.serviceextension was just replaced with.txt)1. Prerequisite: Backup Existing Settings
Before starting the installation, ensure you have your current configuration saved.
http://localhost:5380).Log Files (*.log)option.).zipfile. Do not extract or modify this file, it will be used later.2. Installing Dependencies
This approach ensures you are running the latest binaries regardless of repository lag.
Install the .NET SDK
Install Technitium DNS
The binaries will be located at
/opt/technitium/dns/once the script finishes.curl -sSL [https://download.technitium.com/dns/install.sh](https://download.technitium.com/dns/install.sh) | sudo bash3. System Integration & Permissions
After replacing the
systemd.servicefile with your edited version, you need to link it to the system and secure the directories.Symlink the Service
Important
Ownership & Hardening
Ensure that root owns the necessary directories to prevent unauthorized modifications.
Enable the Service
sudo systemctl enable --now technitium-dns-server4. Restore Configuration
Once the new service is running, apply your saved settings.
.zipfile you downloaded in Step 1. (I suggest also selecting theLog Files (*.log)option.)This workflow has proven much more reliable for me than waiting on AUR updates.
Beta Was this translation helpful? Give feedback.
All reactions