Skip to content

Background Service Management

DNS Worker includes built-in service lifecycle management to register, control, and autostart background daemons.

Terminal window
# Installs service running unprivileged as the invoking user (recommended)
sudo dns-worker service install
# Or explicitly designate a specific user (e.g. root)
sudo dns-worker service install --user root
Terminal window
# Check service status
sudo dns-worker service status
# Tail real-time service logs (journalctl)
sudo dns-worker service logs
# Restart service
sudo dns-worker service restart
# Enable autostart on system boot
sudo dns-worker service enable
# Disable autostart on system boot
sudo dns-worker service disable
# Stop service
sudo dns-worker service stop
# Completely remove service
sudo dns-worker service uninstall

Run PowerShell or Command Prompt as Administrator:

Terminal window
# Install scheduled task with autostart on boot
dns-worker service install
# Check task status
dns-worker service status
# Start / Stop / Restart
dns-worker service start
dns-worker service stop
dns-worker service restart