You should use this instead:
https://github.com/SagerNet/sing-tools/tree/main/cli/cloudflare-ddns
A lightweight DDNS daemon.
Usage of ./dnsd:
-c string
config path (default "config.yaml")
-i int
update interval in seconds (default 300)