You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the post. Microsoft does not recommend using snap to install dotnet. Also note that you need to install dotnet runtime only and SDK is not needed to be installed.
If you are manually installing dotnet then make sure that you create a link (using ln -s) so that dotnet works with /usr/bin/dotnet path. This will make the installer detect dotnet and work as expected and there wont be any need to change how the installer works.
I would recommend to allow the script to install dotnet instead of manually installing it. The reason for this is that you will have to update dotnet to the latest release manually each time you update the DNS server. If the installer has installed dotnet, it will automatically update dotnet every time you upgrade the DNS server.
On
Ubuntu 24.04.1 LTS
, I usedsnap
to installdotnet
because it installed a newer version vs usingapt
:This then installs the binary to:
/snap/bin/dotnet
Therefore, I needed to modify my
/etc/systemd/system/dns.service
file:ExecStart=/usr/sbin/dotnet /opt/technitium/dns/DnsServerApp.dll /etc/dns
ExecStart=/snap/bin/dotnet /opt/technitium/dns/DnsServerApp.dll /opt/technitium/dns
There are two changes I made:
/usr/sbin/dotnet
->/snap/bin/dotnet
/etc/dns
->/opt/technitium/dns
Would it be possible for you to update the install.sh to properly handle the scenario?
Thank you.
The text was updated successfully, but these errors were encountered: