Drill in Termux – Installation & Usage Commands

Drill is a simple and powerful DNS query tool that allows you to look up DNS records, perform reverse DNS lookups, and troubleshoot domain name resolution from the terminal. It is a lightweight utility commonly used by system administrators, developers, and networking enthusiasts to analyze DNS information.

Here’s what you can do with Drill in Termux:

  • Query DNS records.
  • Perform reverse DNS lookups.
  • Check DNSSEC information.
  • Trace DNS resolution.
  • Query specific DNS servers.
  • Troubleshoot DNS issues.

Install Drill in Termux

Below are the simple commands to install Drill in Termux. Copy and run each command one by one to install the tool.

Update Termux packages.

pkg update && pkg upgrade -y

Install the LDNS package.

pkg install ldns -y

Verify the installation.

drill -v

Drill is now installed and ready to use.

Use Drill in Termux

Drill is easy to use and supports multiple command-line options for DNS queries and diagnostics. Use the following commands to perform common DNS lookups and networking tasks.

Display the help menu.

drill -h

Perform a DNS lookup.

drill example.com

Query MX records.

drill example.com MX

Query a specific DNS server.

drill example.com @8.8.8.8

Perform a reverse DNS lookup.

drill -x 8.8.8.8

Trace DNS resolution from the root servers.

drill -T example.com

Enable DNSSEC.

drill -D example.com

Display the installed version.

drill -v

These commands cover the most common DNS lookup tasks in Drill. Replace the example domain or IP address with your target, and the tool will display the corresponding DNS information in the terminal.

End Note

Drill is an easy-to-use command-line tool for performing DNS queries and network diagnostics. It is ideal for learning how DNS works, verifying domain configurations, and troubleshooting DNS-related issues using Termux.

SHARE THIS POST: