Recent NextDNS package for OpenWRT is missing init script
I'm attempting to install OpenWRT 21.02.01, and have installed the nextdns package. However NextDNS does not startup at boot. Here's what the package contains:
# opkg files nextdns
Package nextdns (1.37.3-1) is installed on root and has the following files:
/etc/config/nextdns
/usr/sbin/nextdns
Looking back at my old installation, that package contains an init script, which seems to be necessary:
# opkg files nextdns
Package nextdns (1.4.23-1) is installed on root and has the following files:
/etc/config/nextdns
/etc/init.d/nextdns
/usr/sbin/nextdns
Am I missing something, or is the latest openWRT package incomplete?
6 replies
-
Playing around with the nextdns 1.37.3 executable, it accepts some commands, including:
install install service init on the system
uninstall uninstall service init from the system
I ran the install command, and it did install a rudimentary /etc/init.d/nextdns file. This does allow OpenWRT to boot, and does configure dnsmasq to properly forward DNS requests through NextDNS. However this script is incomplete, as it does not include a 'stop' procedure.Requiring addition CLI steps to get the tool operational - without any corresponding documentation - is totally at odds with normal expectations for OpenWRT packages. The generated /etc/init.d/nextdns file should be included in the package.
-
I installed NextDNS package on Openwrt, and it works great
OpenWrt 21.02.1 r16325-88151b8303 / LuCI openwrt-21.02 branch git-21.314.39479-e1ccb66
-
whats the fix? im having this issue after modem/router power outage which is weird because i tested rebooting both devices a bunch of times after installation to validate.
under GUI software list it shows nextDNS disabled in red. in shell nextdns status is stopped
if I manually in GUI click Enable, its greenlit. in shell status is still stopped. manual start works from ssh nextdns cmds and everything is all good!
before i figured out the problem everyone was complaining about the internet being down so I threw cloudflare in as a secondary DNS which is a good band aid in the event openwrt/nextdns breaks again.
i'm not linux or openWRT savy, but there is the local startup script section I can throw in to enable and start ?
there's a few things on the web, but the last comment on this link shows the problem still exists in Oct 2021
Content aside
- 2 yrs agoLast active
- 6Replies
- 390Views
-
4
Following