v15.2.4 - Install internet protection (defer DNS lock until dnscrypt healthy)
v15.2.4 — Install internet protection (DNS defer)
Status: Production — fixes recurring "internet dies during install".
Problem
During STEP 18 (privacy stack), install could:
- Set WireGuard
DNS = 127.0.0.1before dnscrypt-proxy listened on port 53 - Run dns-lockdown / dnscrypt guards while install lock was active
- Leave the system with broken DNS → no internet every install attempt
Common on VMs when port 53 is busy or dnscrypt service is still starting.
Fix
- dnscrypt-guard (v14 + v15):
Test-DnscryptListeninggate — no WG DNS change unless127.0.0.1:53is LISTENING - Set-WireGuardDnsLocalhost: only runs when
Test-DnscryptHealthy - Privacy guards deferred during
InstallInProgress(STEP 18c–18f write scripts only) - STEP 20:
Invoke-DeferredPrivacyGuardsapplies DNS lock only after install lock cleared + dnscrypt healthy
Install
Download v15.2.4 ZIP or:
git pull
.\emergency-reset.bat # if internet currently broken
.\install.ps1 -NoPauseTests
scripts/test-suite.ps1: 202+ PASS