Forrest logo
back to the drill tool

drill:tldr:1603f

drill: Show DNSKEY record(s) for a domain name.
$ drill -s dnskey ${example-com}
try on your machine

The command "drill -s dnskey ${example-com}" is used to query the DNSKEY (DNS Key) records of a domain name. Here is the breakdown of the command:

  • "drill" is a command-line DNS query tool used to retrieve DNS information.
  • "-s dnskey" is an argument that specifies the query type to DNSKEY. This tells the "drill" command to retrieve the DNSKEY records of the domain.
  • "${example-com}" is a placeholder that represents the domain name. You need to replace it with the actual domain name for which you want to retrieve DNSKEY records.

So, when you run this command and replace "${example-com}" with the desired domain name, the "drill" command will send a DNS query to the DNS resolver server, requesting the DNSKEY records for that domain. The server will respond with the DNSKEY records if they exist, allowing you to view the cryptographic keys associated with the domain's DNS.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the drill tool