While updating my RPi for a Cloudflare auto-ip-updater script, I ran into an issue where the dig
command couldn’t be found. Also, the dnsutils
package containing dig was not in the Raspbian repository. So, you can easily replace the dnsutils
package with the knot-dnsutils
package, and you get dig
back. Install with sudo apt-get install knot-dnsutils
.