Documentation

drill – command-line DNS and DNSSEC diagnostic utility

drill is a command-line DNS lookup utility included with the ldns library from NLnet Labs. It provides an alternative implementation to dig for investigating DNS records and troubleshooting name resolution.

The utility can perform ordinary DNS queries, examine the responses returned by nameservers and investigate DNSSEC behaviour. It is particularly useful for checking how domain names are resolved and identifying problems with delegation or DNSSEC signatures.

drill uses the ldns codebase rather than BIND, providing an independent implementation for debugging and comparing DNS behaviour.

This is free and open source software.

Key Features

  • Queries common DNS record types, including A, AAAA, MX, NS, SOA, TXT, DNSKEY, RRSIG and DS.
  • Performs DNSSEC signature checking and follows signature chains towards a trusted key.
  • Traces DNS resolution from root nameservers through the delegation hierarchy.
  • Supports DNSSEC-enabled delegation tracing.
  • Allows trusted DNSSEC keys to be supplied for validating responses.
  • Displays DNSKEY records together with their corresponding DS records.
  • Supports reverse DNS lookups using PTR records.
  • Can query specified nameservers or read resolver settings from an alternative configuration file.
  • Supports UDP and TCP queries, including configurable EDNS buffer sizes and TCP fallback.
  • IPv4-only and IPv6-only query modes.
  • Options for controlling DNS header flags, query ports and the local source address.
  • Can save DNS responses as hexadecimal packet dumps for later inspection.

Website: github.com/NLnetLabs/ldns
Support:
Developer: NLnet Labs
License: BSD 3-Clause ‘New’ or ‘Revised’ License

drill man page

drill is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Alternatives to dig
dogDNS client with colorful output, DNS-over-TLS and DNS-over-HTTPS support
doggoCommand-line DNS client for humans
drillPerform DNS lookups and display answers returned from the name server(s)
dnslookupSupports plain DNS, DoH, DoT, DoQ, and DNSCrypt
dugGlobal DNS propagation checker
qSupport for UDP, TCP, DoT, DoH, DoQ and ODoH
DNS Clients
dogColourful output, understands normal command-line argument syntax
doggoCommand-line DNS client for humans
qTiny command line DNS client supporting UDP, TCP, DoT, DoH, DoQ and ODoH
ddclientUpdate dynamic DNS entries
GoDNSDynamic DNS (DDNS) client tool
digDNS lookup utility
awlDNS lookup tool
ZDNSHigh-speed DNS resolver and command line utility
dnslookupMake DNS lookups
dugGlobal DNS propagation checker
drillPerform DNS lookups
dnessDynamic DNS client
znsFast DNS lookup tool with DNSSEC validation and delegation tracing
In-a-DynSmall and simple Dynamic DNS, DDNS, client
dohQuery multiple DNS-over-HTTPS resolvers with JSON output
dnsupdateModern and flexible dynamic DNS client
ch4Dig-compatible DNS client with UDP, TCP and EDNS support
wigSimple and lightweight DNS client
dyndnscDynamic DNS update client

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted