Skip to content

Installation on Alpine Linux#1461

Open
Wrong-Code wants to merge 191 commits intoTechnitiumSoftware:masterfrom
Wrong-Code:alpine-install
Open

Installation on Alpine Linux#1461
Wrong-Code wants to merge 191 commits intoTechnitiumSoftware:masterfrom
Wrong-Code:alpine-install

Conversation

@Wrong-Code
Copy link
Copy Markdown

I have extended the Technitium DNS installation script to properly install on Alpine Linux. The script now takes care of installing the binaries needed just for the installation, as well as the libstdc++ package required by Microsoft .NET (the dotnet installation scripts does not check if it is missing)

I also provide the openrc.service file to run Technitium DNS as a service. The installation script now checks not only for systemd, but also for OpenRC.

If this PR is accepted, this blog post should be updated stating the now supported Alpine Linux.

I have tested the script on Alpine Linux v3.20.

@ShreyasZare
Copy link
Copy Markdown
Member

Thanks for the PR. Will review it soon.

@Wrong-Code
Copy link
Copy Markdown
Author

Hi,

I have rebased my PR with release 14.3. It still works on Alpine even with .NET 9, I hope you will have time to integrate it.

@ShreyasZare
Copy link
Copy Markdown
Member

Thanks. I have this PR starred in my inbox so will get it review once I have sufficient time to do so.

EliteSalman and others added 23 commits February 28, 2026 13:48
…ager so that it does not alter resolv.conf. Also made changes to allow restoring original resolv.conf on uninstall.
…nfig, added support to restore original resolv.conf file along with starting up systemd-resolved. Also implemented option to remove config folder after uninstall.
… option to remove config and logs files on disk after uninstall.
…file before replacing it. Updated implementation to support new ClusterApiToken type. Code refactoring changes done.
…ngleUse session types. Added UpgradeToClusterApiToken() for backward compatibility usage. Updated HasExpired() to handle new session types and fix minor bug.
…Cluster API Token. Updated SaveConfigFileInternal() to save config in tmp file before moving. Updated code to support new Cluter API Token. Code refactoring changes and minor fixes done.
…ng persistent DNS records for reserved leases with hostname configured even when reserved lease was not allocated. Updated SaveScopeFile() to write config to tmp before moving it. Code refactoring changes done.
…eserved leases with hostname configured even when the lease was not allocated. Code refactoring changes done.
… tmp before moving. Code refactoring changes done.
… tmp before moving. Code refactoring changes done.
…g to tmp before moving. Code refactoring changes done.
ShreyasZare and others added 26 commits April 25, 2026 13:07
…due to _ssoGroupMap being empty instead of null and another bug that caused failure to sync cluster api token.
 into alpine-install

# Conflicts:
#	DnsServerApp/install.sh

Update Alpine Linux support for Technitium DNS 15
@Wrong-Code
Copy link
Copy Markdown
Author

Hi! I’ve rebased this PR onto the latest upstream master and resolved the conflicts. The changes should now be up to date with the current codebase.

I tried to avoid bigger code reshuffles and obvious installation scripts cleanups, so that the PR has a chance to be adopted.

@ShreyasZare
Copy link
Copy Markdown
Member

Thanks for this. This PR still is quite tough to review due to all these changes in there. It would be best if you can create a new PR with just this install script and related changes.

I will try to test this soon before taking up any other major task.

@Wrong-Code
Copy link
Copy Markdown
Author

Thanks for this. This PR still is quite tough to review due to all these changes in there. It would be best if you can create a new PR with just this install script and related changes.

It's because of my incompetence with Git. My fork was still based on the previous version of T. DNS, and when I rebased it to align the current version it incorporated all your commits (if you look closely, my changes indeed affect only your install.sh file, and I add another file, all the other changes are your commits).

If you still find the PR too busy, I can drop my fork and create another one. The script could be improved, but as I wrote I didn't want to overdo it.

Thanks!

@ShreyasZare
Copy link
Copy Markdown
Member

It would really be much better to have a new PR. Right now, its too tough to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants