Commit Graph
6 Commits
Author SHA1 Message Date
Dev Scribe d47e6fa173 cli: default to dns intercept mode on the supported desktop platforms
When no intercept mode is selected by flag or config, a new installation
on macOS or a Windows desktop edition uses "dns". Windows Server, iOS and
other platforms keep interface DNS mode unless intercept is selected
explicitly, and so does a config that cannot run in intercept mode.
Existing Standard installations are not switched on upgrade: ctrld-client
start marks the services it installs fresh, a service with neither a mode
nor the marker keeps interface DNS mode, and the macOS package pins such a
service to "off" explicitly. An explicit "off" stays final and is
persisted.

Master adaptation: the run flag and start install hunk move from
commands.go to commands_run.go and commands_service_start.go and use the
start command's logger and svcConfig; setDNS logs through p.Info(); the
flag test builds the run command with InitRunCmd; user-facing commands,
docs and the pkg test use the ctrld-client binary name.
2026-10-12 14:42:31 +07:00
Anthony Wong dc39073a55 feat(pkg): classify postinstall failures and test them in ci 2026-09-04 16:47:58 +07:00
Cuong Manh Le d8994cc7d8 Rename ctrld v2.0.0 to ctrld-client
Updates #565
2026-09-03 13:57:38 +07:00
Dev Scribe f0b60f3efa pkg: address managed DNS mode review feedback 2026-08-24 15:18:01 +07:00
Dev Scribe 5eb2db549b pkg: apply managed DNS mode in the macOS package 2026-08-24 15:17:03 +07:00
Codescribe a99dcca288 feat: add macOS pf DNS interception 2026-04-30 19:19:19 +07:00