GL-AX1800 NEXTDNS Fails installation!

Hi all, My router is GL-AX1800 running on OpenWrt 23.05-SNAPSHOT.

I am trying to install NextDns package via SSH command but it fails. Looked into lucy software repositories, also didnt find Nextdns. Tried manually add installation package in lucy, downloaded many files but all time gets in return error as installation file is for diffrent infrastructure.

anybody knows what to do?

I can see in Router DNS setting NextDNS but cannot assign my ID from Account as interface says nextdns needs be installed. I am able to use only not configured public DNS filtering.

In SSH CMD returns:

root@GL-AX1800:~# opkg update
Downloading https://fw.gl-inet.com/releases/v23.05-SNAPSHOT/kmod-5.4.164/aarch64_cortex-a53_neon-vfpv4/ipq60xx/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_core
Downloading https://fw.gl-inet.com/releases/v23.05-SNAPSHOT/packages-5.0/aarch64_cortex-a53_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/opnwrt_packages
Updating database.
Database update completed.
root@GL-AX1800:~# opkg install curl
Package curl (8.7.1-r1) installed in root is up to date.
Updating database.
Database update completed.
root@GL-AX1800:~# DEBUG=1 sh -c "$(curl -sL https://nextdns.io/install)"
INFO: OS: openwrt
INFO: GOARCH: arm64
INFO: GOOS: linux
INFO: NEXTDNS_BIN: /usr/sbin/nextdns
INFO: INSTALL_RELEASE: 1.46.0
DEBUG: Start install loop with CURRENT_RELEASE=
DEBUG: NextDNS is not installed
i) Install NextDNS
e) Exit
Choice (default=i): i
INFO: Installing NextDNS...
DEBUG: Using openwrt install type
Downloading https://fw.gl-inet.com/releases/v23.05-SNAPSHOT/kmod-5.4.164/aarch64_cortex-a53_neon-vfpv4/ipq60xx/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_core
Downloading https://fw.gl-inet.com/releases/v23.05-SNAPSHOT/packages-5.0/aarch64_cortex-a53_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/opnwrt_packages
Updating database.
Database update completed.
Unknown package 'nextdns'.
Collected errors:

  • opkg_install_cmd: Cannot install package nextdns.
    DEBUG: Start install loop with CURRENT_RELEASE=
    DEBUG: NextDNS is not installed
    i) Install NextDNS
    e) Exit

It is because the repo from gl inet does not have this package.

I would advise to first make a backup of the configuration, because I don't know what else the luci app depends on, it could potentially break openwrt by downloading a core dependency.

so you have to login via ssh.

Then type:

cd /tmp

wget https://downloads.openwrt.org/releases/packages-24.10/aarch64_cortex-a53/packages/nextdns_1.45.0-r1_aarch64_cortex-a53.ipk

wget https://downloads.openwrt.org/releases/packages-24.10/aarch64_cortex-a53/luci/luci-app-nextdns_25.320.79529~76ce5ef_all.ipk

opkg update
opkg install *.ipk if that doesn't work try using opkg install -i *.ipk

In order to have it work correctly you need to disable stubby by typing:

/etc/init.d/stubby stop && /etc/init.d/stubby disable

If you login again in luci a services tab appear with nextdns settings, no need for the external curl script :wink:

1 Like

Thanks for help, unfortunately it didn't work, still have an error….I did try install this two files with NextDns via Lucy…error like on the screenshot..

Update:….I was able to install NextDns via Luci upload package settings, found I think correct file here :

but installed only one file which is :

golang-github-nextdns-nextdns-dev_1.45.0-r1_all.ipk

Another one which :

luci-app-nextdns_git-25.222.75657-7ce34fe_all.ipk

I have error during installation.

Do I need to have installed the 2nd file for Luci also?

Where in router settings can setup nextdns, is there any gui Interface?

Luci app is only if you want a ui extension for luci but not required.