DnsServer
DnsServer copied to clipboard
Clustering has BouncyCastle Cryptography version mismatch
When i tried to initialze clustering I got this error
File name: 'BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938'
at DnsServerCore.Dns.Dnssec.DnssecPrivateKey.Create(DnssecAlgorithm algorithm, DnssecPrivateKeyType keyType, Int32 keySize)
at DnsServerCore.Cluster.ClusterManager.InitializeCluster(String clusterDomain, IPAddress primaryNodeIpAddress, UserSession session) in Z:\Technitium\Projects\DnsServer\DnsServerCore\Cluster\ClusterManager.cs:line 552
at DnsServerCore.DnsWebService.WebServiceClusterApi.InitializeCluster(HttpContext context) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebServiceClusterApi.cs:line 285
at lambda_method85(Closure, Object, HttpContext)
at DnsServerCore.DnsWebService.WebServiceApiMiddleware(HttpContext context, RequestDelegate next) in Z:\Technitium\Projects\DnsServer\DnsServerCore\DnsWebService.cs:line 1949
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
what i have :
cat /opt/technitium/dns/DnsServerApp.deps.json | grep -i bouncy
"BouncyCastle.Cryptography/2.6.2": {
"lib/net6.0/BouncyCastle.Cryptography.dll": {
"BouncyCastle.Cryptography": "2.6.2",
"BouncyCastle.Cryptography/2.6.2": {
"path": "bouncycastle.cryptography/2.6.2",
"hashPath": "bouncycastle.cryptography.2.6.2.nupkg.sha512"
clustering fails I cant get it to work I'm updated to the latest version running on freshly installed Debian 13 with the official install script
Thanks for the post. It seems like the older file from previous release did not get overwritten for some unknown reason. Please do a reinstall of the DNS server and see if the correct DLL file is in place.