I maked a file:
root@Router [~]:>ls -l /tmp/dnsmasq-nftset.conf
-rw-r--r-- 1 root root 42 May 18 11:47 /tmp/dnsmasq-nftset.conf
root@Router [~]:>cat /tmp/dnsmasq-nftset.conf
nftset=/www.google.com/4#inet#fw4#google
I wanted to add contents of this file to dnsmasq configuration, so I added the following at the end of /etc/dnsmasq.conf:
conf-file=/tmp/dnsmasq-nftset.conf
Unfortunately, dnsmasq won't start:
Mon May 18 11:49:59 2026 daemon.crit dnsmasq[1]: cannot read /tmp/dnsmasq-nftset.conf: No such file or directory
Mon May 18 11:49:59 2026 daemon.crit dnsmasq[1]: FAILED to start up
root@Router [~]:>apk list -I dnsmasq-full
dnsmasq-full-2.91-r3 mipsel_24kc {feeds/base/network/services/dnsmasq} (GPL-2.0) [installed]
root@Router [~]:>ubus call system board
{
“kernel”: “6.12.87”,
“hostname”: “Router”,
“system”: “MediaTek MT7621 ver:1 eco:3”,
“model”: “Ubiquiti EdgeRouter X SFP”,
“board_name”: “ubnt,edgerouter-x-sfp”,
“rootfs_type”: “squashfs”,
“release”: {
“distribution”: “OpenWrt”,
“version”: “25.12.4”,
“firmware_url”: “https://downloads.openwrt.org/”,
“revision”: “r32933-4ccb782af7”,
“target”: “ramips/mt7621”,
“description”: “OpenWrt 25.12.4 r32933-4ccb782af7”,
“builddate”: “1778712129”
}
Who knows what I'm doing wrong?