Auto-Update
DNS-MNS v3.0.0 includes a built-in self-update mechanism that checks for new releases on GitLab and downloads the correct binary for your platform.Usage
- Check the GitLab releases API for newer versions
- Compare with your current version
- Download the correct binary for your OS and architecture
- Replace the running executable
- Report success
How It Works
- Queries
https://gitlab.com/api/v4/projects/E-Gurl%2Fdns-mns/releases - Uses semantic versioning (semver) to compare versions
- Downloads the matching binary:
dns-mns-{os}-{arch}(e.g.,dns-mns-linux-amd64) - Performs atomic replacement: backup old binary, install new one, clean up