Skip to content
Contents
GuidesOpenWrt

Why does dnsmasq-full lack ipset on OpenWrt 24.10.0?

The stock OpenWrt 24.10.0 build enables nftset and disables legacy ipset for dnsmasq-full. Check the installed binary before replacing a working DNS service.

The stock OpenWrt 24.10.0 build enables nftset and disables legacy ipset for dnsmasq-full. Check the installed binary before replacing a working DNS service.

Read the complete feature names

Run these commands over SSH. Check the release, then read Compile time options. A substring search for ipset also matches no-ipset. If several binaries exist, use the path in the service command.

ubus call system board
dnsmasq --version

Check what reads the set

With no-ipset nftset, dnsmasq can populate nftables sets. Use nft list sets to check the table, set and address type. If the consumer reads only legacy ipset, installing its CLI or renaming the set will not help. Migrate both ends or choose a compatible build with legacy support. The screenshot shows build defaults. Custom images can differ.

OpenWrt 24.10.0 · ipset (n) / nftset (y)
OpenWrt 24.10.0 · dnsmasq-full · Makefile

Verify a new entry

Assume the IPv4 set inet fw4 sites4 exists and a test domain already maps to it. Record the initial elements. From a client, ask the router for an uncached name under that domain with an A record. Substitute your own values.

# OpenWrt
nft list set inet fw4 sites4

# LAN (PC)
nslookup test.example.org 192.168.1.1

# OpenWrt
nft list set inet fw4 sites4

Look for the new answer address in elements. If DNS works but nothing appears, check the serving instance, domain match and IPv4 type. No uninstall is needed. Restore any temporary mappings from backup and check ordinary lookups again.

Moving OpenWrt from x86 to ARM: check the ABI, packages and kernel modules

Explore hardware

Comments