|
3 | 3 | _doggo() {
|
4 | 4 | _arguments \
|
5 | 5 | "(- 1 *)"{-v,--version}"[Show version of doggo]" \
|
6 |
| - "(- 1 *)"{-\?,--help}"[Show list of command-line options]" \ |
7 |
| - {-q,--query}"[Hostname to query the DNS records for]::_hosts" \ |
8 |
| - {-t,--type}"[Type of the DNS Record]:(record type):(A AAAA CAA CNAME HINFO MX NS PTR SOA SRV TXT)" \ |
9 |
| - {-n,--nameserver}"[Address of a specific nameserver to send queries to]::_hosts;" \ |
10 |
| - {-c,--class}"[Network class of the DNS record being queried]:(network class):(IN CH HS)" \ |
| 6 | + "(- 1 *)"{-h,--help}"[Show list of command-line options]" \ |
| 7 | + {-q,--query=}"[Hostname to query the DNS records for]::_hosts" \ |
| 8 | + {-t,--type=}"[Type of the DNS Record]:(record type):(A AAAA CAA CNAME HINFO MX NS PTR SOA SRV TXT)" \ |
| 9 | + {-n,--nameserver=}"[Address of a specific nameserver to send queries to]::_hosts;" \ |
| 10 | + {-c,--class=}"[Network class of the DNS record being queried]:(network class):(IN CH HS)" \ |
| 11 | + {-r,--reverse}"[Performs a DNS Lookup for an IPv4 or IPv6 address]" \ |
| 12 | + --strategy="[Strategy to query nameserver listed in etc/resolv.conf]:(strategy):(all random first)" \ |
| 13 | + --ndots="[Number of requred dots in hostname to assume FQDN]:(number of dots):()" \ |
| 14 | + --search"[Defaults to true. Set --search=false to not use the search list defined in resolve.conf]:(setting):(true false)" \ |
| 15 | + --timeout"[Timeout (in seconds) for the resolver to return a response]:(seconds):()" \ |
| 16 | + {-4,--ipv4}"[Use IPv4 only]" \ |
| 17 | + {-6,--ipv6}"[Use IPv6 only]" \ |
| 18 | + --tls-hostname="[Hostname used for verification of certificate incase the provided DoT nameserver is an IP]::_hosts" \ |
| 19 | + --skip-hostname-verification"[Skip TLS hostname verification in case of DoT lookups]" \ |
11 | 20 | {-J,--json}"[Format the output as JSON]" \
|
12 |
| - --color"[Defaults to true. Set --color=false to disable colored output]:(setting):(true false)" \ |
| 21 | + --short"[Shows only the response section in the output]" \ |
| 22 | + --color="[Defaults to true. Set --color=false to disable colored output]:(setting):(true false)" \ |
13 | 23 | --debug"[Enable debug logging]:(setting):(true false)" \
|
14 | 24 | --time"[Shows how long the response took from the server]" \
|
15 | 25 | '*:hostname:_hosts'
|
|
0 commit comments