diff --git a/src/tools/getdns_query.c b/src/tools/getdns_query.c index 713783fc..e963fc35 100644 --- a/src/tools/getdns_query.c +++ b/src/tools/getdns_query.c @@ -57,19 +57,7 @@ getdns_return_t getdns_yaml2dict(const char *, getdns_dict **dict); #define EXAMPLE_PIN "pin-sha256=\"E9CZ9INDbd+2eRQozYqqbQ2yXLVKB9+xcprMF+44U1g=\"" static int verbosity = 0; -static int i_am_stubby = 0; -static const char *default_stubby_config = -"{ resolution_type: GETDNS_RESOLUTION_STUB" -", dns_transport_list: [ GETDNS_TRANSPORT_TLS, GETDNS_TRANSPORT_UDP, GETDNS_TRANSPORT_TCP ]" -", idle_timeout: 10000" -", listen_addresses: [ 127.0.0.1@53, 0::1@53 ]" -", tls_query_padding_blocksize: 1" -", edns_client_subnet_private : 1" -"}"; static int clear_listen_list_on_arg = 0; -#ifndef GETDNS_ON_WINDOWS -static int run_in_foreground = 1; -#endif static int quiet = 0; static int batch_mode = 0; static char *query_file = NULL; @@ -95,6 +83,8 @@ static int check_dnssec = 0; static char *resolvconf = NULL; #endif static int print_api_info = 0, print_trust_anchors = 0; +static int log_level = 0; +static uint64_t log_systems = 0xFFFFFFFFFFFFFFFF; static int get_rrtype(const char *t) { @@ -179,19 +169,14 @@ print_usage(FILE *out, const char *progname) { fprintf(out, "usage: %s [