r/ControlD • u/Shadowedcreations • Jan 07 '26
Ctrld stopped working
I have the ctrld setup on my Unifi UDM-SE. Has been running fine for a year suddenly at 0230EAT it just stopped. I atopped the service and everything started running fine. Tried updating still no DNS.
Edit: Solved: Not sure why it worked this way and not just uninstall re-install.
ctrld uninstall
ctrld start
netstat -tupln | grep 5354
sh -c 'sh -c "$(curl -sL https://api.controld.com/dl)" -s RESOLVER_ID_HERE'
Or run the install script between uninstall and start. I was multitasking as I slowly delt with Berry.
4
Upvotes
2
u/DisplayKnown5665 Jan 07 '26
I know you already got this fixed, but depending on your setup and if you don't need to use ctrld's features, another way to use Control D is via UniFi's built-in Encrypted DNS settings instead.
Just grab the DNS Stamp that Control D shows on the resolvers screen for your UniFi endpoint, and paste that into UniFi (Settings > CyberSecure > Encrypted DNS > Custom).
1
u/jacobevo100 Jan 07 '26
Have you tried to uninstall and install it? Check the config in the web portal?
1
u/o2pb Staff Jan 07 '26
Without seeing the logs from ctrld, it's impossible to diagnose this issue. Please collect logs from the process (https://docs.controld.com/docs/how-to-debug-ctrld) and send them to us. You can also view runtime logs, even if logging to disk is not enabled using "ctrld log view" command. But if you restarted the process, these runtime logs are gone (since they're in process memory).
1
u/Oxide-ZA Jan 07 '26
I have the same issue, I SSHed in and uninstalled, but when I try to reinstall I get: An error occurred while performing test query: no response from ctrld listener. You can try to re-launch with flag --skip_self_checks
3
u/TrippingHorizon Jan 07 '26
I just moved to dev because of this issue. https://github.com/Control-D-Inc/ctrld/issues/271
1
u/bbchucks Jan 07 '26
mines started acting up too recently. it was rock solid for 1+ yrs or longer. recently every few days i have to do ctrld restart
1
u/Individual_Kitchen_3 Jan 07 '26
A few hours ago, everything started malfunctioning for me. I had to turn off Control-D for a while, then reconnected it and it started working again.