Hello,
in the process to implement this script to switch DNS when my Pi-Hole is down, I have noticed the dig package is missing and not available to be installed via opkg.
In fact, even on the official open-wrt packages repo of CC the ipq branch is not available anymore.
I have then tried an equivalent command using nslookup, but the built-in version of busybox is not so updated and nslookup doesn’t support params for DNS record type (TXT) and class (CH/CHAOS).
My firmware is the last stable one: GL-B1300 3.211
Do you know if there is a way to get dig or a more recent version of nslookup? Or maybe some equivalent command to check if the Pi-Hole dns is up and running?