Package Details: technitium-dns-server-bin 15.2.0-1

Git Clone URL: https://aur.archlinux.org/technitium-dns-server-bin.git (read-only, click to copy)
Package Base: technitium-dns-server-bin
Description: Open source authoritative and recursive DNS server focused on privacy and security
Upstream URL: https://technitium.com/dns/
Keywords: adblocker blocker dns
Licenses: GPL3
Conflicts: technitium-dns-server
Provides: technitium-dns-server
Submitter: owentrigueros
Maintainer: owentrigueros
Last Packager: owentrigueros
Votes: 6
Popularity: 0.006939
First Submitted: 2022-12-09 09:12 (UTC)
Last Updated: 2026-05-15 08:32 (UTC)

Latest Comments

1 2 3 Next › Last »

owentrigueros commented on 2026-05-01 07:22 (UTC)

Thanks @coderobe! Patch applied, it looks cleaner now. I've also removed the exe file as it is not required.

coderobe commented on 2026-04-30 22:09 (UTC)

here's a patch for the latest version. 15.0 added some new dlls without which the server fails to start (oidc), so the patched pkgbuild just installs all of them instead of the tedious manual list it was before. it was also built against the current aspnet runtime, so relaxing that requirement is fine

diff --git a/PKGBUILD b/PKGBUILD
index 58f4b9c..7c4cba3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,53 +2,36 @@

 pkgname=technitium-dns-server-bin
 _pkgname=technitium-dns-server
-pkgver=14.3.0
+pkgver=15.0.1
 pkgrel=1
 pkgdesc="Open source authoritative and recursive DNS server focused on privacy and security"
 arch=('any')
 url="https://technitium.com/dns/"
 license=('GPL3')
-depends=('aspnet-runtime-9.0')
+depends=('aspnet-runtime')
 conflicts=('technitium-dns-server')
 provides=('technitium-dns-server')
 source=("$_pkgname-$pkgver.tar.gz::https://download.technitium.com/dns/archive/$pkgver/DnsServerPortable.tar.gz"
         "$_pkgname.service"
         "$_pkgname.sysuser")
-sha256sums=("9b2deaa54378e5abef1917907876ef2d0c89e0b6d09fc494e6a799b6316adea7"
-            "464dbfe1038e4737ca83c60617a5a4e334cdd948fe41315a3a36913011680952"
-            "d349d144faf8932c56a054b22721420f1eb68adf7bc226f174654b33510f75e4")
+sha256sums=('2eaa47654eb6e58bf08821bd170dceb59bbd035468c744bc47ba12154df28b48'
+            '464dbfe1038e4737ca83c60617a5a4e334cdd948fe41315a3a36913011680952'
+            'd349d144faf8932c56a054b22721420f1eb68adf7bc226f174654b33510f75e4')

 package() {
     cd "$srcdir"

     install -Dm644 "$_pkgname.sysuser" "$pkgdir"/usr/lib/sysusers.d/$_pkgname.conf

+    for f in *.{dll,pdb}
+    do install -Dm 0644 $f "$pkgdir/opt/$_pkgname/$f"
+    done
+
     install -Dm 0644 DnsServerApp.deps.json "$pkgdir/opt/$_pkgname/DnsServerApp.deps.json"
-    install -Dm 0644 DnsServerApp.dll "$pkgdir/opt/$_pkgname/DnsServerApp.dll"
     install -Dm 0644 DnsServerApp.exe "$pkgdir/opt/$_pkgname/DnsServerApp.exe"
-    install -Dm 0644 DnsServerApp.pdb "$pkgdir/opt/$_pkgname/DnsServerApp.pdb"
     install -Dm 0644 DnsServerApp.runtimeconfig.json "$pkgdir/opt/$_pkgname/DnsServerApp.runtimeconfig.json"
-    install -Dm 0644 DnsServerCore.ApplicationCommon.dll "$pkgdir/opt/$_pkgname/DnsServerCore.ApplicationCommon.dll"
-    install -Dm 0644 DnsServerCore.ApplicationCommon.pdb "$pkgdir/opt/$_pkgname/DnsServerCore.ApplicationCommon.pdb"
-    install -Dm 0644 DnsServerCore.dll "$pkgdir/opt/$_pkgname/DnsServerCore.dll"
-    install -Dm 0644 DnsServerCore.pdb "$pkgdir/opt/$_pkgname/DnsServerCore.pdb"
-    install -Dm 0644 DnsServerCore.HttpApi.dll "$pkgdir/opt/$_pkgname/DnsServerCore.HttpApi.dll"
-    install -Dm 0644 DnsServerCore.HttpApi.pdb "$pkgdir/opt/$_pkgname/DnsServerCore.HttpApi.pdb"
     install -Dm 0644 named.root "$pkgdir/opt/$_pkgname/named.root"
     install -Dm 0644 root-anchors.xml "$pkgdir/opt/$_pkgname/root-anchors.xml"
-    install -Dm 0644 TechnitiumLibrary.ByteTree.dll "$pkgdir/opt/$_pkgname/TechnitiumLibrary.ByteTree.dll"
-    install -Dm 0644 TechnitiumLibrary.ByteTree.pdb "$pkgdir/opt/$_pkgname/TechnitiumLibrary.ByteTree.pdb"
-    install -Dm 0644 TechnitiumLibrary.dll "$pkgdir/opt/$_pkgname/TechnitiumLibrary.dll"
-    install -Dm 0644 TechnitiumLibrary.IO.dll "$pkgdir/opt/$_pkgname/TechnitiumLibrary.IO.dll"
-    install -Dm 0644 TechnitiumLibrary.IO.pdb "$pkgdir/opt/$_pkgname/TechnitiumLibrary.IO.pdb"
-    install -Dm 0644 TechnitiumLibrary.Net.dll "$pkgdir/opt/$_pkgname/TechnitiumLibrary.Net.dll"
-    install -Dm 0644 TechnitiumLibrary.Net.pdb "$pkgdir/opt/$_pkgname/TechnitiumLibrary.Net.pdb"
-    install -Dm 0644 TechnitiumLibrary.pdb "$pkgdir/opt/$_pkgname/TechnitiumLibrary.pdb"
-    install -Dm 0644 TechnitiumLibrary.Security.OTP.dll "$pkgdir/opt/$_pkgname/TechnitiumLibrary.Security.OTP.dll"
-    install -Dm 0644 TechnitiumLibrary.Security.OTP.pdb "$pkgdir/opt/$_pkgname/TechnitiumLibrary.Security.OTP.pdb"
-    install -Dm 0644 BouncyCastle.Cryptography.dll "$pkgdir/opt/$_pkgname/BouncyCastle.Cryptography.dll"
-    install -Dm 0644 QRCoder.dll "$pkgdir/opt/$_pkgname/QRCoder.dll"
-    install -Dm 0644 System.Drawing.Common.dll "$pkgdir/opt/$_pkgname/System.Drawing.Common.dll"

     cp -r www "$pkgdir/opt/$_pkgname/www"
     cp -r dohwww "$pkgdir/opt/$_pkgname/dohwww"

owentrigueros commented on 2025-12-23 18:55 (UTC)

Hi @deuscode97! Yes, currently there is a hard dependency to aspnet-runtime-9.0.

It's on purpose. Technitium DNS Server 14.3 is compiled with .NET 9. It should work with .NET 10 too, but I have to test it before updating the dependency to aspnet-runtime>=9.0.

I will update it as soon as I test it.

Either way, feel free to test it yourself, change depends=('aspnet-runtime-9.0') to depends=('aspnet-runtime') in the PKGBUILD and run makepkg.

deuscode87 commented on 2025-12-22 18:42 (UTC)

Looks like there's a new version of asp net-runtime that breaks the package update process as I think there's a hard dependency to 9.0

error: failed to prepare transaction (could not satisfy dependencies)
:: installing aspnet-runtime (10.0.0.sdk100-1) breaks dependency 'aspnet-runtime-9.0' required by technitium-dns-server-bin
 -> error installing repo packages

owentrigueros commented on 2025-11-10 12:23 (UTC)

Thanks @Terrance, fixed!

Terrance commented on 2025-11-09 18:31 (UTC)

DNS over HTTP(S) doesn't appear to work because the document root dohwww isn't included in the package, leading to:

[2025-11-09 18:29:48 UTC] [[::]:5380] [HTTP] DNS Server failed to bind.
[2025-11-09 18:29:48 UTC] System.IO.DirectoryNotFoundException: /opt/technitium-dns-server/dohwww/
   at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
   at DnsServerCore.Dns.DnsServer.StartDoHAsync() in Z:\Technitium\Projects\DnsServer\DnsServerCore\Dns\DnsServer.cs:line 4623

The missing package() step:

cp -r dohwww "$pkgdir/opt/$_pkgname/dohwww"

owentrigueros commented on 2025-05-09 17:45 (UTC)

Hi @kekistan, thanks for pointing that out. It should be fixed, let me know if you still get the error.

APT37 commented on 2025-05-08 12:41 (UTC)

When trying to resolve cryptostorm.is I get the following error message:

IO error for cryptostorm.is. A IN: Could not load file or assembly 'BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edc

Technitium's author determined this to be a dependency issue.

https://github.com/TechnitiumSoftware/DnsServer/issues/1323

owentrigueros commented on 2025-04-09 10:42 (UTC)

Thanks for pointing that out, @NextWorks. Fixed!

Somehow it built succesfully with version 13.5, maybe they removed that directory from the archive and only kept 13.5.0.