Install Drill On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS
Install drill
-
Debian
apt-get install ldnsutilsClick to copy -
Ubuntu
apt-get install ldnsutilsClick to copy -
Alpine OS
apk add ldnsClick to copy -
Arch Linux
pacman -S ldnsClick to copy -
Kali Linux
apt-get install ldnsutilsClick to copy -
CentOS
yum install ldnsClick to copy -
Fedora
dnf install ldns-utilsClick to copy -
Raspbian
apt-get install ldnsutilsClick to copy -
macOS
brew install ldnsClick to copy
Perform various DNS queries.
How to use drill?
Below are few example commands for drill that you can use in the terminal.
Lookup the IP(s) associated with a hostname (A records):drill hostname.comClick to copyLookup the mail server(s) associated with a given domain name (MX record):drill mx hostname.comClick to copyGet all types of records for a given domain name:drill any hostname.comClick to copySpecify an alternate DNS server to query:drill hostname.com @8.8.8.8Click to copyPerform a reverse DNS lookup on an IP address (PTR record):drill -x 8.8.8.8Click to copyPerform DNSSEC trace from root servers down to a domain name:drill -TD hostname.comClick to copyShow DNSKEY record(s) for a domain name:drill -s dnskey hostname.comClick to copy
Installing drill command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of drill 2026 package in your OS.




