dig

DNS lookup utility. More information: <https://manned.org/dig>.

Debian Debian
RUN apt-get update && \ apt-get install -y knot-dnsutils
Ubuntu
RUN apt-get update && \ apt-get install -y knot-dnsutils
Alpine
RUN apk add bind-tools
Arch Arch Linux
RUN pacman -S --noconfirm bind-tools
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y dnsutils
Fedora
RUN dnf install -y bind-utils
Raspbian
RUN apt-get update && \ apt-get install -y knot-dnsutils
click the source code to copy install dig on any operating system with command-not-found.com