tcp
: Use TCP instead of UDP to send the query.
+
+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.
reportAllTypes();
if(argc < 5) {
- cerr<<"Syntax: sdig IP-address port question question-type [dnssec] [recurse] [showflags] [hidesoadetails] [tcp] [ednssubnet subnet]\n";
+ cerr<<"Syntax: sdig IP-address port question question-type [dnssec] [recurse] [showflags] [hidesoadetails] [tcp] [ednssubnet SUBNET]\n";
exit(EXIT_FAILURE);
}