zdns
Fast CLI DNS Lookup Tool
Details
Category: Recon
Publisher: trickest-mhmdiaa
Created Date: 4/2/2024
Container: quay.io/trickest/zdns:610e4c7
Source URL: https://github.com/zmap/zdns
Parameters
alexa
boolean
Command:
--alexa
- is input file from Alexa Top Million downloadclass
string
Command:
--class
- DNS class to query. Options: INET, CSNET, CHAOS, HESIOD, NONE, ANY. Default: INET. (default INET)input
string
Command:
- Input targetconfig
file
Command:
--config
- config file (default is $HOME/.zdns.yaml)dnssec
boolean
Command:
--dnssec
- Requests DNSSEC records by setting the DNSSEC OK (DO) bitmodule
string
requiredCommand:
- moduleprefix
string
Command:
--prefix
- name to be prepended to what's passed in (e.g., www.)retries
string
Command:
--retries
- how many times should zdns retry query if timeout or temporary failure (default 1)threads
string
Command:
--threads
- number of lightweight go threads (default 1000)timeout
string
Command:
--timeout
- timeout for resolving an individual name (default 15)tcp-only
boolean
Command:
--tcp-only
- Only perform lookups over TCPudp-only
boolean
Command:
--udp-only
- Only perform lookups over UDPconf-file
file
Command:
--conf-file
- config file for DNS servers (default /etc/resolv.conf)iterative
boolean
Command:
--iterative
- Perform own iteration instead of relying on recursive resolvermax-depth
string
Command:
--max-depth
- how deep should we recurse when performing iterative lookups (default 10)verbosity
string
Command:
--verbosity
- log verbosity: 1 (lowest)--5 (highest) (default 3)cache-size
string
Command:
--cache-size
- how many items can be stored in internal recursive cache (default 10000)input-file
file
requiredCommand:
- Input filelocal-addr
string
Command:
--local-addr
- comma-delimited list of local addresses to useipv4-lookup
boolean
Command:
--ipv4-lookup
- Perform an IPv4 Lookup in modulesipv6-lookup
boolean
Command:
--ipv6-lookup
- Perform an IPv6 Lookup in modulesnanoseconds
boolean
Command:
--nanoseconds
- Use nanosecond resolution timestampsgo-processes
string
Command:
--go-processes
- number of OS processes (GOMAXPROCS)name-servers
string
Command:
--name-servers
- List of DNS servers to use. Can be passed as comma-delimited string. If no port is specified, defaults to 53.client-subnet
string
Command:
--client-subnet
- Client subnet in CIDR format for EDNS0.mx-cache-size
string
Command:
--mx-cache-size
- number of records to store in MX -> A/AAAA cache (default 1000)override-name
string
Command:
--override-name
- name overrides all passed in namesblacklist-file
file
Command:
--blacklist-file
- blacklist file for servers to exclude from lookupsinclude-fields
string
Command:
--include-fields
- Comma separated list of fields to additionally output beyond result verbosity. Options: class, protocol, ttl, resolver, flagsall-nameservers
boolean
Command:
--all-nameservers
- Perform the lookup via all the nameservers for the domain.local-interface
string
Command:
--local-interface
- local interface to userecycle-sockets
boolean
Command:
--recycle-sockets
- Create long-lived unbound UDP socket for each thread at launch and reuse for all (UDP) queries (default true)name-server-mode
boolean
Command:
--name-server-mode
- Treats input as nameservers to query with a static query rather than queries to send to a static name serverresult-verbosity
string
Command:
--result-verbosity
- Sets verbosity of each output record. Options: short, normal, long, trace (default normal)checking-disabled
boolean
Command:
--checking-disabled
- Sends DNS packets with the CD bit setiteration-timeout
string
Command:
--iteration-timeout
- timeout for resolving a single iteration in an iterative query (default 4)metadata-passthrough
boolean
Command:
--metadata-passthrough
- if input records have the form 'name,METADATA', METADATA will be propagated to the output