These options can be added to the commandline in any order.
classCLASSNUM
Send the query in the numbered class (like 3 for CHAOS) instead of the default 1 (for IN).
dnssec Set the DO bit to request DNSSEC information.
ednssubnetSUBNET
Send SUBNET in the edns-client-subnet option. If this option is not set, no edns-client-subnet
option is set in the query.
hidesoadetails
Don't show the SOA serial in the response.
hidettl
Replace TTLs with [ttl] in the response.
proxyTCP?SRCDST
Wrap query in PROXYv2 protocol with these parameters. The first parameter accepts 0 for UDP and 1
for TCP. The second and third take IP addresses and port.
recurse
Set the RD bit in the question.
showflags
Show the NSEC3 flags in the response (they are hidden by default).
dumpluaraw
Display record contents in a form suitable for dnsdist's SpoofRawAction.
tcp Use TCP instead of UDP to send the query.
dot use DoT instead of UDP to send a query. Implies tcp.
insecure
when using DoT, do not validate the server certificate.
fastOpen
when using TCP or, DoT, enable TCP Fast Open
subjectNamename
when using DoT, verify the server certificate is issued for name. The openssl provider will accept
an empty name and still make sure the certificate is issued by a trusted CA, gnutls will only do
the validation if a name is given. Default is the empty name. Also, note that older provide
libraries might not validate at all.
caStorefile
when using DoT, read the trusted CA certificates from file. Default is to use the system provided
CA store.
tlsProvidername
when using DoT, use TLS provider name. Currently supported (if compiled in): openssl and gnutls.
Default is openssl if available.
xpfXPFCODEXPFVERSIONXPFPROTOXPFSRCXPFDST
Send an XPF additional with these parameters.
opcodeOPNUM
Use opcode OPNUM instead of 0 (Query). For example, sdig192.0.2.153example.comSOAopcode4
sends a NOTIFY.