Skip to content
Contents
GuidesOpenWrt

LuCI reports a remove error after deleting the default DHCP/DNS instance

When the DHCP page shows a "remove" error, first verify how many dnsmasq instances are still configured. The address pool settings and currently running processes do not replace or override the instance segment.

Applies to · ASUS AX6000 · SNAPSHOT r27751-f8c22c9bff

What to check

Use wired SSH to check if the instance section is still active.

Connect over Ethernet and run the following commands in an SSH session on the router.

uci show dhcp | grep '=dnsmasq'
pgrep -f dnsmasq

How to interpret the result

Look for lines with "dnsmasq" on the right side of the equals sign. If no such line is found, compare the local backup to identify the missing instance. If the instance named "work" is present, verify the instance name currently being edited, then check the address pool bound to that instance.

GeeksMeta verified the command output on OpenWrt 25.12.6 VM (r33311-981c978eff) kernel. In the wired SSH session, after running uci show dhcp, it shows dhcp.@dnsmasq[0]=dnsmasq, which is an instance configuration.

Verify and recover

Reopen the DHCP page, renew a lease on a test client and resolve a local hostname through the router. If any check fails after restoring the instance, put back the saved DHCP configuration over the wired connection.

Related guide · What to back up separately from OpenWrt UCI configuration

Explore hardware

Comments