Problem switching to dnsmasq-full on 19.07.1

I have a local domain name set up for machines and services on the lan. I've previously used dnsmasq-full and some extra lines in dnsmasq.conf to get this working.

On 18.x and probably before I did this to install dnsmasq-full:

ssh root@192.168.0.1
opkg update
opkg remove dnsmasq
opkg install dnsmasq-full

Then presumably rebooted.

On 19.07.1 when I remove dnsmasq I cant then download dnsmasq-full:

ssh root@192.168.0.1
opkg update
opkg remove dnsmasq
(successfull)
opkg install dnsmasq-full
Installing dnsmasq-full (2.80-15) to root...
Downloading http://downloads.openwrt.org/releases/19.07.1/packages/arm_xscale/base/dnsmasq-full_2.80-15_arm_xscale.ipk
Failed to establish connection
Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07.1/packages/arm_xscale/base/dnsmasq-full_2.80-15_arm_xscale.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download dnsmasq-full. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package dnsmasq-full.

But then I can't connect to anything else either - lose all DNS lookups, for obvious reasons. I can get back to normal functionality by reflashing the sysupgrade.bin and keeping settings.

How can I switch dnsmasq package to dnsmasq-full? Manual download of the package before removing dnsmasq?

You could edit /etc/resolv.conf and add nameserver 1.1.1.1 so you can resolve the openwrt.org address.

3 Likes

Perfect! Thankyou @trendy .

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.