as root
mkdir /opt/technitium-dns
Grab the installer file (do NOT run it!) from this link to get an idea.
open it and download the DotNet Runtime:
wget https://dot.net/v1/dotnet-install.sh
read and review the script! Now run it to install dotnet within the dns folder:
./dotnet-install.sh -c 8.0 –runtime aspnetcore –no-path –install-dir /opt/technitium-dns/dotnet –verbose
Download DNS portable tar: wget -O DnsServerPortable.tar.gz https://download.technitium.com/dns/DnsServerPortable.tar.gz
Decompress it: tar -zxf DnsServerPortable.tar.gz -C /opt/technitium-dns
Test run it: ../dotnet/dotnet DnsServerApp.dll