1SDIG(1)                  PowerDNS Authoritative Server                 SDIG(1)
2
3
4

NAME

6       sdig - Perform a DNS query and show the results
7

SYNOPSIS

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

DESCRIPTION

12       sdig  sends  a DNS query to IP-ADDRESS-OR-DOH-URL on port PORT and dis‐
13       plays the answer in a formatted way.  If the address starts with an  h,
14       it  is assumed to be a DoH endpoint, and PORT is ignored.  If qname and
15       qtype are both - and tcp is used, multiple lines are read  from  stdin,
16       where  each line contains a qname and a type.  If the address is stdin,
17       a DNS packet is read from stdin instead of from the network,  and  PORT
18       is ignored.
19

OPTIONS

21       These options can be added to the commandline in any order.
22
23       class CLASSNUM
24              Send  the query in the numbered class (like 3 for CHAOS) instead
25              of the default 1 (for IN).
26
27       dnssec Set the DO bit to request DNSSEC information.
28
29       ednssubnet SUBNET
30              Send SUBNET in the edns-client-subnet option. If this option  is
31              not set, no edns-client-subnet option is set in the query.
32
33       hidesoadetails
34              Don't show the SOA serial in the response.
35
36       hidettl
37              Replace TTLs with [ttl] in the response.
38
39       recurse
40              Set the RD bit in the question.
41
42       showflags
43              Show  the  NSEC3  flags  in  the  response  (they  are hidden by
44              default).
45
46       tcp    Use TCP instead of UDP to send the query.
47
48       xpf XPFCODE XPFVERSION XPFPROTO XPFSRC XPFSRC
49              Send an XPF additional with these parameters.
50

AUTHOR

52       PowerDNS.COM BV
53
55       2001-2019, PowerDNS.COM BV
56
57
58
59
60                                 Apr 06, 2020                          SDIG(1)
Impressum