Forrest logo
back to context overview

dig

List of commands for dig:

  • dig:tldr:15b4d dig: Find authoritative name servers for the zone and display SOA records.
    $ dig +nssearch ${example-com}
    try on your machine
    explain this command
  • dig:tldr:23c2e dig: Get all types of records for a given domain name.
    $ dig ${example-com} ANY
    try on your machine
    explain this command
  • dig:tldr:327b0 dig: Get a detailed answer for a given domain (A records).
    $ dig +noall +answer ${example-com}
    try on your machine
    explain this command
  • dig:tldr:55d94 dig: Query a specific DNS record type associated with a given domain name.
    $ dig +short ${example-com} ${select}
    try on your machine
    explain this command
  • dig:tldr:d2206 dig: Perform iterative queries and display the entire trace path to resolve a domain name.
    $ dig +trace ${example-com}
    try on your machine
    explain this command
  • dig:tldr:e6093 dig: Specify an alternate DNS server to query.
    $ dig @${8-8-8-8} ${example-com}
    try on your machine
    explain this command
  • dig:tldr:eee19 dig: Lookup the IP(s) associated with a hostname (A records).
    $ dig +short ${example-com}
    try on your machine
    explain this command
  • dig:tldr:fe6cd dig: Perform a reverse DNS lookup on an IP address (PTR record).
    $ dig -x ${8-8-8-8}
    try on your machine
    explain this command
  • dig:warp:0464538c42ac5a12cdbea297c95ad777 Get the text records for a domain
    $ dig +short ${domain} txt
    try on your machine
    explain this command
back to context overview