Background Service Management
DNS Worker includes built-in service lifecycle management to register, control, and autostart background daemons.
Linux systemd Service
Section titled “Linux systemd Service”1. Installation & Registration
Section titled “1. Installation & Registration”# 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 root2. Common Service Actions
Section titled “2. Common Service Actions”# Check service statussudo dns-worker service status
# Tail real-time service logs (journalctl)sudo dns-worker service logs
# Restart servicesudo dns-worker service restart
# Enable autostart on system bootsudo dns-worker service enable
# Disable autostart on system bootsudo dns-worker service disable
# Stop servicesudo dns-worker service stop
# Completely remove servicesudo dns-worker service uninstallWindows Scheduled Tasks
Section titled “Windows Scheduled Tasks”Run PowerShell or Command Prompt as Administrator:
# Install scheduled task with autostart on bootdns-worker service install
# Check task statusdns-worker service status
# Start / Stop / Restartdns-worker service startdns-worker service stopdns-worker service restart