mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
After installing as a system service, "ctrld start" does an end-to-end test for ensuring DNS can be resolved correctly. However, in case the system is mis-configured (by firewall, other softwares ...) and the test query could not be sent to ctrld listener, the current error message is not helpful, causing the confusion from users perspective. To improve this, selfCheckStatus function now returns the actual status and error during its process. The caller can now rely on the service status and the error to produce more useful/friendly message to users.