Forrest logo
tool overview
On this page you find all important commands for the CLI tool dnstracer. If the command you are looking for is missing please ask our AI.

dnstracer

Dnstracer is a command line tool used for tracing the DNS (Domain Name System) queries and responses between your computer and the DNS server. It provides a detailed analysis of the path taken by a DNS query, helping troubleshoot DNS-related issues. When executed, dnstracer follows the DNS delegation chain to identify the authoritative name servers responsible for a specific domain. It performs iterative DNS lookups, starting from the root server and recursively following the delegation path until reaching the desired domain. Dnstracer displays information such as the IP addresses of the queried DNS servers, any DNSSEC signatures encountered, and the time taken for each query. It is particularly useful in diagnosing DNS configuration problems or verifying DNS infrastructure configurations. Dnstracer supports both IPv4 and IPv6 addresses and has options to customize the query and display formats. It is an open-source tool and is available for various operating systems, including Linux, macOS, and Windows. Dnstracer can be beneficial for network administrators, security professionals, or anyone interested in understanding how DNS queries are resolved. It enables users to gain insights into the DNS infrastructure and troubleshoot potential DNS lookup issues efficiently.

List of commands for dnstracer:

  • dnstracer:tldr:08af0 dnstracer: Start with a [s]pecific DNS that you already know.
    $ dnstracer -s ${dns-example-org} ${www-example-com}
    try on your machine
    explain this command
  • dnstracer:tldr:2a584 dnstracer: Display all steps during execution.
    $ dnstracer -v ${www-example-com}
    try on your machine
    explain this command
  • dnstracer:tldr:35956 dnstracer: Display an [o]verview of all received answers after execution.
    $ dnstracer -o ${www-example-com}
    try on your machine
    explain this command
  • dnstracer:tldr:7db93 dnstracer: Retry each request 5 times on failure.
    $ dnstracer -r ${5} ${www-example-com}
    try on your machine
    explain this command
  • dnstracer:tldr:91267 dnstracer: Find out where your local DNS got the information on www.example.com.
    $ dnstracer ${www-example-com}
    try on your machine
    explain this command
  • dnstracer:tldr:cb246 dnstracer: Only query IPv4 servers.
    $ dnstracer -4 ${www-example-com}
    try on your machine
    explain this command
tool overview