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

dog

The "dog" command line tool is a simple and straightforward tool that is used for DNS (Domain Name System) lookups. It functions similar to the popular "dig" tool but with some added features and a different interface.

Dog is designed to provide a user-friendly and human-readable output. It displays DNS records in a clean and colored format, making it easier to read and understand the information returned by the DNS server.

Some key features of the "dog" command line tool include:

  1. Information Retrieval: Dog can be used to retrieve various types of DNS records such as A, AAAA, CNAME, NS, MX, PTR, and TXT records. It allows you to query different types of records based on your requirements.

  2. Colorful Output: Dog provides colored output to help distinguish between different sections of the DNS records. This makes it easier to read and interpret the information presented.

  3. DNSSEC Validation: It supports DNSSEC (Domain Name System Security Extensions) validation, which verifies the authenticity and integrity of DNS records. This helps protect against DNS spoofing attacks and ensures the validity of the returned records.

  4. Multiple Name Servers: Dog allows you to specify the name servers to query against. This is useful when you want to check the DNS records from specific servers rather than relying on the default name servers configured on your system.

Overall, "dog" is a useful command line tool for performing DNS lookups, providing an intuitive and visually appealing interface to retrieve and analyze DNS records.

List of commands for dog:

  • dog:tldr:289bf dog: Query the MX records type associated with a given domain name.
    $ dog ${example-com} MX
    try on your machine
    explain this command
  • dog:tldr:3c7fd dog: Query the MX records type associated with a given domain name over TCP using explicit arguments.
    $ dog --query ${example-com} --type MX --nameserver ${1-1-1-1} --tcp
    try on your machine
    explain this command
  • dog:tldr:a1c82 dog: Query over TCP rather than UDP.
    $ dog ${example-com} MX @${1-1-1-1} --tcp
    try on your machine
    explain this command
  • dog:tldr:d0d3d dog: Lookup the IP(s) associated with a hostname (A records).
    $ dog ${example-com}
    try on your machine
    explain this command
  • dog:tldr:f1efa dog: Specify a specific DNS server to query (e.g. Cloudflare).
    $ dog ${example-com} MX @${1-1-1-1}
    try on your machine
    explain this command
  • dog:tldr:f62fe dog: Lookup the IP(s) associated with a hostname (A records) using DNS over HTTPS (DoH).
    $ dog ${example-com} --https @${https:--cloudflare-dns-com-dns-query}
    try on your machine
    explain this command
tool overview