Doggo is a DNS lookup utility with color output, DNS on TLS and DNS support on HTTPS (command line)

Dog Is a modern command line DNS lookup utility, similar to dig, The output is colorful, supports DNS on TLS and DNS protocol on HTTPS and so on. It is suitable for macOS, Microsoft Windows and Linux.

Similar to dig, Doggo performs a DNS lookup and displays the answer returned from the queried name server, which is useful for solving DNS problems.

Other features include support for displaying output as JSON, support for ndots and search configuration from resolv.conf or command line parameters, and can use IPv4, IPv6 or both IPv4 and IPv6. It supports passing human-readable hostnames, name servers, types or classes as command line parameters, or you can use “normal” command line parameters instead.

To use Doggo, all you have to do is to pass the host name to be queried as a command line parameter, and the command line tool will request A recording:

doggo duckduckgo.com

If necessary, you can specify multiple host names for query. Just separate them by a space.

You can request it by passing a specific record type in the command line before or after the domain name.Such as request A, NS with MX record of duckduckgo.com field:

doggo duckduckgo.com A NS MX

You can also specify the DNS server used for the request, for example, using Cloudflare DNS:

doggo duckduckgo.com @1.1.1.1

You can also use the long format command line parameters to specify the record type (-t / --type, DNS server (-n / --nameserver), class (-c / --class) And the host name to be queried (-q / --query). For details, please refer to Doggo Help.

By default, doggo sends queries via UDP.To send them via TCP, use the following command to specify the DNS resolver @tcp://, Like this (for example, 1.1.1.1 DNS resolver for Cloudflare):

doggo duckduckgo.com @tcp://1.1.1.1

To send queries using DoT (DNS-over-TLS; port 853 is used by default), use @tls://,E.g:

doggo duckduckgo.com @tls://@1.1.1.1

To use DoH (DNS-over-HTTPS) to query the hostname, you need to use the following method to specify the DoH resolver @https://, Such as using Cloudflare HTTP-over-HTTPS parser:

doggo duckduckgo.com @https://cloudflare-dns.com/dns-query

Doggo is also available as a web tool at the following URL: https://doggo.mrkaran.dev/

You may also want to check out dog, A similar command line DNS client, it inspired Doggo, but written in Rust instead of Golang.

Install Doggo

On the project homepage Installation Notes Doggo uses pre-compiled binaries (to /usr/local/bin), uses Docker, Snapshot storage, AUR, Or build it from source code.You can also go to Publish page Download source code or binary files for Linux, macOS and Windows (amd64 and arm64 are both available for Linux and macOS).

Source

Related Posts