Commands/Update
v3.5.44
Commands

Update

Update to the latest version with automatic backup.

Command

update
$ curl -fsSL https://raw.githubusercontent.com/nexoral/NexoralDNS/main/Scripts/install.sh | bash -s update

What it does

Queries GitHub for the latest release version
Backs up current configuration automatically
Gracefully stops services and pulls latest images
Restarts with the new version and verifies health
⚠️
Brief downtime
DNS resolution and the dashboard are unavailable for 30–60 seconds during the update. Schedule during low-usage periods.

Configuration backup

backup path
/var/lib/nexoraldns/backups/config_YYYY-MM-DD_HH-MM-SS.tar.gz

Includes custom DNS records, block lists, user settings and dashboard configurations. Query logs and cache data are not included.

Rollback

restore
curl -fsSL .../install.sh | bash -s stop
sudo tar -xzf /var/lib/nexoraldns/backups/config_LATEST.tar.gz -C /
curl -fsSL .../install.sh | bash -s start

Check versions

version check
cd /path/to/NexoralDNS && git describe --tags
curl -s https://api.github.com/repos/nexoral/NexoralDNS/releases/latest | grep tag_name