Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add mr-karan/doggo #8743

Merged
merged 3 commits into from Dec 26, 2022
Merged

Conversation

ponkio-o
Copy link
Sponsor Contributor

@ponkio-o ponkio-o commented Dec 26, 2022

#8743 mr-karan/doggo: 馃惗 Command-line DNS Client for Humans. Written in Golang

$ aqua g -i mr-karan/doggo

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

$ doggo --help
NAME:
  doggo 馃惗 DNS Client for Humans

USAGE:
  doggo [--] [query options] [arguments...]

VERSION:
  v0.5.4 (2cf9e7b 2022-07-13T11:37:54Z) - unknown

EXAMPLES:
  doggo mrkaran.dev                             Query a domain using defaults.
  doggo mrkaran.dev CNAME                       Looks up for a CNAME record.
  doggo mrkaran.dev MX @9.9.9.9                 Uses a custom DNS resolver.
  doggo -q mrkaran.dev -t MX -n 1.1.1.1         Using named arguments.

Free Form Arguments:
  Supply hostnames, query types, classes without any flag. For eg:
  doggo mrkaran.dev A @1.1.1.1

Transport Options:
  Based on the URL scheme the correct resolver is chosen.
  Fallbacks to UDP resolver if no scheme is present.

  @udp://        eg: @1.1.1.1 initiates a UDP resolver for 1.1.1.1:53.
  @tcp://        eg: @tcp://1.1.1.1 initiates a TCP resolver for 1.1.1.1:53.
  @https://      eg: @https://cloudflare-dns.com/dns-query initiates a DOH resolver for Cloudflare DoH server.
  @tls://        eg: @tls://1.1.1.1 initiates a DoT resolver for 1.1.1.1:853.
  @sdns://       initiates a DNSCrypt or DoH resolver using its DNS stamp.
  @quic://       initiates a DOQ resolver.

Query Options:
  -q, --query=HOSTNAME        Hostname to query the DNS records for (eg mrkaran.dev).
  -t, --type=TYPE             Type of the DNS Record (A, MX, NS etc).
  -n, --nameserver=ADDR       Address of a specific nameserver to send queries to (9.9.9.9, 8.8.8.8 etc).
  -c, --class=CLASS           Network class of the DNS record (IN, CH, HS etc).
  -x, --reverse               Performs a DNS Lookup for an IPv4 or IPv6 address. Sets the query type and class to PTR and IN respectively.

Resolver Options:
  --strategy=STRATEGY          Specify strategy to query nameserver listed in etc/resolv.conf. (all, random, first).
  --ndots=INT                  Specify ndots parameter. Takes value from /etc/resolv.conf if using the system namesever or 1 otherwise.
  --search                     Use the search list defined in resolv.conf. Defaults to true. Set --search=false to disable search list.
  --timeout                    Specify timeout (in seconds) for the resolver to return a response.
  -4 --ipv4                    Use IPv4 only.
  -6 --ipv6                    Use IPv6 only.
  --ndots=INT                  Specify ndots parameter. Takes value from /etc/resolv.conf if using the system namesever or 1 otherwise.
  --tls-hostname=HOSTNAME      Provide a hostname for doing verification of the certificate if the provided DoT nameserver is an IP.
  --skip-hostname-verification Skip TLS Hostname Verification in case of DOT Lookups.

Output Options:
  -J, --json                  Format the output as JSON.
  --short                     Short output format. Shows only the response section.
  --color                     Defaults to true. Set --color=false to disable colored output.
  --debug                     Enable debug logging.
  --time                      Shows how long the response took from the server.

Reference

[mr-karan/doggo](https://github.com/mr-karan/doggo): 馃惗 Command-line DNS Client for Humans. Written in Golang

```console
$ aqua g -i mr-karan/doggo
```

## How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

```console
$
```

If files such as configuration file are needed, please share them.

```
```

Reference

-
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Dec 26, 2022
@suzuki-shunsuke suzuki-shunsuke added this to the v3.108.1 milestone Dec 26, 2022
@suzuki-shunsuke suzuki-shunsuke merged commit b9ef371 into aquaproj:main Dec 26, 2022
@suzuki-shunsuke
Copy link
Member

Thanks!

@ponkio-o ponkio-o deleted the feat/mr-karan/doggo branch December 26, 2022 02:16
@suzuki-shunsuke
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants