Forrest logo
back to the dig tool

dig:tldr:15b4d

dig: Find authoritative name servers for the zone and display SOA records.
$ dig +nssearch ${example-com}
try on your machine

The command "dig +nssearch ${example-com}" is used to perform a DNS (Domain Name System) query for the nameservers of a particular domain (example.com).

Here's a breakdown of the command:

  • "dig": It is a command-line tool used for querying DNS servers. It stands for "Domain Information Groper".

  • "+nssearch": It is an option in the "dig" command that allows you to search for the authoritative nameservers for a particular domain.

  • "${example-com}": It is a placeholder that represents the domain you want to search for. In this case, the command is trying to find the authoritative nameservers for the "example.com" domain.

In summary, when you run this command, it will query the DNS servers to retrieve the authoritative nameservers for the specified domain. The authoritative nameservers are responsible for providing the DNS information for a domain, such as translating domain names into IP addresses.

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 dig tool