Skip to content
Contents
GuidesOpenWrt

The Unbound Zones page in LuCI fails with a logerr.trim TypeError

On the Unbound Zones page, errors may appear in the browser without affecting DNS functionality. First perform a name query, then reload the Zones page. If the error persists, the issue is in the DNS resolution service; if it disappears, the problem lies in the interface.

Applies to · NanoPi R76S · SNAPSHOT r38204-89e69d9391

What to check

First, perform a DNS query from the client to the router for a known resolvable domain.

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

logread -e unbound
/etc/init.d/unbound status
netstat -ln | grep -E ':53([[:space:]]|$)'

How to interpret the result

On the client, explicitly set the router as DNS and query a known hostname. If a correct response is received and the console shows logerr.trim, inspect the return type in zones.js that handles log processing. If the query times out, first verify that Unbound is listening on the expected address and port.

Verify and recover

Open the Zones page and query a known name from a client. Both the zone list and the DNS answer should return. If a frontend change fails, restore its matching package or known-working build and keep the original zones.

Related guide · Identify a new device from OpenWrt lease and access logs

Explore hardware

Devices mentioned

Comments