Skip to content
Contents
GuidesOpenWrt

Why is Unbound missing from LuCI Startup even though it runs on OpenWrt?

If DNS still works, hold off on adding another start command to rc.local. On OpenWrt 24.10.0 a script can declare its startup priority while the entry sent to LuCI lacks that field.

If DNS still works, hold off on adding another start command to rc.local. On OpenWrt 24.10.0 a script can declare its startup priority while the entry sent to LuCI lacks that field.

Check boot enablement, the running instance and the listing separately

Open System → Startup and check the script name and priority. Both screenshots use a visible dnsmasq entry for comparison. Run the following Unbound checks one line at a time over router SSH. If the script is missing, stop and confirm the package and script name.

OpenWrt · System → Startup · dnsmasq · 19
OpenWrt 25.12.6 · x86/64 · QEMU · System → Startup · dnsmasq · 19
s=unbound
grep -nE "^(START|STOP|USE_PROCD)=" /etc/init.d/$s
/etc/init.d/$s enabled; echo "$?"
ubus call rc list '{"name":"unbound"}'
ubus call service list '{"name":"unbound"}' | grep -E '"(running|pid)"'

The number before the colon is the line number. The value after START= is the priority. A zero after enabled means the boot check passed. Look for start in the rc object. A running instance should show running true and a pid. If nothing appears, remove the final grep filter and inspect the full response locally.

OpenWrt · dnsmasq · start = 19 · running = true
OpenWrt 25.12.6 · x86/64 · QEMU · dnsmasq · start = 19 · running = true

How a valid START line can be missed

In the sources pinned for 24.10.0, Unbound puts START=19 on line 15. That rpcd parser checks at most the first 11 logical lines, counting comments and blanks. LuCI lists entries with start below 100. A missing field therefore hides a script that can still run. Later packages may differ.

In an isolated VM we changed only the comment padding of a disabled test script. These excerpts show start missing at line 15 and present at line 7. We removed the fixture. This tests listing behavior only.

15:START=19    {"enabled":false}
 7:START=19    {"start":19,"stop":50,"enabled":false,"running":false}

If the entire entry is missing, check executable permissions and rc errors. If start is already below 100, inspect the browser’s list request and management permissions. Leave boot order alone. For a display fix, back up first and check the script layout in a compatible maintenance build.

Verify DNS from the LAN

Run nslookup example.org 192.168.1.1 on a client using your actual DNS address. Check forwarding and existing Unbound logs or counters because a cache can answer. If only the router succeeds, check client DNS, listening interfaces and access rules. Repeat after the next planned reboot. The checks are read-only. If an update disrupts service, restore the compatible build and saved settings.

A LuCI menu opens but the service fails: check packages, processes and client traffic

Explore hardware

Comments