dig command not found is pretty annoying when you are trying to use the dig command 🙂
You are trying the using the dig command because you really want to resolve a domain name. Understandable. However, the system says it can not found the command?
Run:
apt update
apt install dnsutils
Run the dig command again.