-
Notifications
You must be signed in to change notification settings - Fork 36
Description
In headless/VPS environments (e.g., Ubuntu on IONOS), ctrld does not appear as active in the Control D dashboard until it handles its first DNS query. This complicates automation and monitoring, especially on new deployments where DNS queries may not occur immediately.
Proposed Solution:
Add an option to force ctrld to register as “active” in the Control D dashboard at startup, even if no DNS queries have been received yet.
Examples:
A --ping-dashboard flag that sends a handshake/keepalive on service start
Built-in registration behavior when launching ctrld
Use Case:
This would greatly improve compatibility in server/cloud scenarios where initial DNS traffic may be delayed or nonexistent, and administrators rely on dashboard visibility for health checks.
Current Workaround:
A cron job that triggers dummy DNS queries (e.g., using dig or ctrld) every few minutes to force sync.
Reference Contribution:
https://github.com/rubengg70/controld-contrib-rubengalindo