SDIG(1)

NAME
sdig - Perform a DNS query and show the results

SYNOPSIS

sdig IP-ADDRESS-OR-DOH-URL * *PORT QNAME QTYPE [OPTION]

DESCRIPTION

sdig sends a DNS query to IP-ADDRESS-OR-DOH-URL on port PORT and displays the answer in a formatted way. If the address starts with an h, it is assumed to be a DoH endpoint, and PORT is ignored.

OPTIONS

These options can be added to the commandline in any order.

dnssec
    Set the DO bit to request DNSSEC information.

ednssubnet SUBNET
    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.

recurse
    Set the RD bit in the question.

showflags
    Show the NSEC3 flags in the response (they are hidden by default).

tcp Use TCP instead of UDP to send the query.

xpf XPFCODE XPFVERSION XPFPROTO XPFSRC XPFSRC
    Send an XPF additional with these parameters.

AUTHOR
PowerDNS.COM BV

COPYRIGHT
2001-2019, PowerDNS.COM BV