Skip to content

Does not work on OpenWRT despite claiming to do so #291

@RobotRoss

Description

@RobotRoss

Installed the ctrld CLI app per the instructions given, however it never actually manages my DNS queries.

Log:

BusyBox v1.36.1 (2025-04-13 16:38:32 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 24.10.1, r28597-0425664679
 -----------------------------------------------------
root@OpenWrt-Router:~# ls
root@OpenWrt-Router:~# sh -c 'sh -c "$(curl -sL https://api.controld.com/dl)"'
sh: curl: not found
root@OpenWrt-Router:~# sh -c 'sh -c "$(curl -sL https://api.controld.com/dl)"'

        __         .__       .___
  _____/  |________|  |    __| _/
_/ ___\   __\_  __ \  |   / __ |
\  \___|  |  |  | \/  |__/ /_/ |
 \___  >__|  |__|  |____/\____ |
     \/       installer       \/

---------------------
|    System Info    |
---------------------
OS Type      : linux
OS Vendor    : openwrt
OS Version   : 24.10.1
Arch         : armv7l
CPU          : ARMv7 Processor rev 5 (v7l)
Free RAM     : 88 MB / 241 MB
---------------------
|  Install Details  |
---------------------
Binary URL   : https://dl.controld.com/linux-armv7/ctrld
Install Path : /usr/sbin
---------------------
Install binary and run it? (y/n): y
 - Starting download
 - Making binary executable
 - Launching /usr/sbin/ctrld
---------------------
        __         .__       .___
  _____/  |________|  |    __| _/
_/ ___\   __\_  __ \  |   / __ |
\  \___|  |  |  | \/  |__/ /_/ |
 \___  >__|  |__|  |____/\____ |
     \/ dns forwarding proxy  \/

Usage:
  ctrld [command]

Available Commands:
  run         Run the DNS proxy server
  start       Quick start service and configure DNS on interface
  stop        Quick stop service and remove DNS from interface
  restart     Restart the ctrld service
  reload      Reload the ctrld service
  status      Show status of the ctrld service
  uninstall   Stop and uninstall the ctrld service
  service     Manage ctrld service
  clients     Manage clients
  upgrade     Upgrading ctrld to latest version
  log         Manage runtime debug logs

Flags:
  -h, --help            help for ctrld
  -s, --silent          do not write any log output
  -v, --verbose count   verbose log output, "-v" basic logging, "-vv" debug logging
      --version         version for ctrld

Use "ctrld [command] --help" for more information about a command.
root@OpenWrt-Router:~# ctrld status
Feb 17 19:51:56.000 ERR the service is not installed
root@OpenWrt-Router:~# ctrld service
Manage ctrld service

Usage:
  ctrld service [command]

Available Commands:
  start       Install and start the ctrld service
  stop        Stop the ctrld service
  restart     Restart the ctrld service
  reload      Reload the ctrld service
  status      Show status of the ctrld service
  uninstall   Stop and uninstall the ctrld service
  interfaces  Manage network interfaces

Flags:
  -h, --help   help for service

Global Flags:
  -s, --silent          do not write any log output
  -v, --verbose count   verbose log output, "-v" basic logging, "-vv" debug logging

Use "ctrld service [command] --help" for more information about a command.
root@OpenWrt-Router:~# sudo ctrld run
-ash: sudo: not found
root@OpenWrt-Router:~# ctrld run
Feb 17 19:52:26.000 NTC Generating controld default config: /root/ctrld.toml
Feb 17 19:52:26.135 WRN no default route IP found
Feb 17 19:52:26.291 WRN stop probing "[ff02::fb]:5353": write udp6 [::]:5353->[ff02::fb]:5353: sendto: network is unreachable
root@OpenWrt-Router:~# ctrld run --cd dq20tyuzaw
Feb 17 19:53:39.643 NTC internal logging enabled
Feb 17 19:53:40.194 WRN no default route IP found
Feb 17 19:53:40.197 DBG start dhcp discovery
Feb 17 19:53:40.314 WRN stop probing "[ff02::fb]:5353": write udp6 [::]:5353->[ff02::fb]:5353: sendto: network is unreachable
root@OpenWrt-Router:~# ctrld stop
Feb 17 19:54:22.446 WRN service not installed
root@OpenWrt-Router:~# ctrld service start
Feb 17 19:54:31.000 NTC Reading config: /root/ctrld.toml
Feb 17 19:54:31.344 NTC Starting service
Feb 17 19:54:33.040 NTC Service started
root@OpenWrt-Router:~# ctrld stop
Feb 17 19:54:40.315 NTC Service stopped
root@OpenWrt-Router:~# ctrld run --cd dq20tyuzaw
Feb 17 19:54:43.797 NTC internal logging enabled
Feb 17 19:54:44.329 WRN no default route IP found
Feb 17 19:54:44.447 WRN stop probing "[ff02::fb]:5353": write udp6 [::]:5353->[ff02::fb]:5353: sendto: network is unreachable
root@OpenWrt-Router:~# ctrld stop
Feb 17 19:56:57.083 WRN service is already stopped
root@OpenWrt-Router:~# ctrld run --cd dq20tyuzaw
Feb 17 19:57:03.642 NTC internal logging enabled
Feb 17 19:57:04.408 WRN no default route IP found
Feb 17 19:57:04.537 WRN stop probing "[ff02::fb]:5353": write udp6 [::]:5353->[ff02::fb]:5353: sendto: network is unreachable




lololol
^Croot@OpenWrt-Router:~# ctrld status
Feb 17 19:57:35.000 NTC Service is stopped
root@OpenWrt-Router:~# ctrld service start
Feb 17 19:57:40.901 NTC Starting existing ctrld service
Feb 17 19:57:41.066 NTC Service started
root@OpenWrt-Router:~# ctrld status
Feb 17 19:57:44.000 NTC Service is running
root@OpenWrt-Router:~# ctrld run --cd dq20tyuzaw
Feb 17 19:57:47.855 NTC internal logging enabled
Feb 17 19:57:48.389 WRN no default route IP found
Feb 17 19:57:48.534 WRN stop probing "[ff02::fb]:5353": write udp6 [::]:5353->[ff02::fb]:5353: sendto: network is unreachable
root@OpenWrt-Router:~# ctrld run --cd dq20tyuzaw
Feb 17 19:58:21.985 NTC internal logging enabled
Feb 17 19:58:22.518 WRN no default route IP found
Feb 17 19:58:22.636 WRN stop probing "[ff02::fb]:5353": write udp6 [::]:5353->[ff02::fb]:5353: sendto: network is unreachable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions