Skip to content
Snippets Groups Projects
Commit 88d609c3 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

Set default dig query type to A

refs #2137
parent 43cfb133
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@
#include <stdint.h> // uint16_t
#include "common/lists.h" // node
#include "libknot/tsig.h"
#include "libknot/tsig.h" // knot_key_t
#define DEFAULT_IPV4_NAME "127.0.0.1"
#define DEFAULT_IPV6_NAME "::1"
......
......@@ -84,7 +84,7 @@ static int dig_params_init(params_t *params)
params->protocol = PROTO_ALL;
params->udp_size = DEFAULT_UDP_SIZE;
params->class_num = KNOT_CLASS_IN;
params->type_num = -1;
params->type_num = KNOT_RRTYPE_A;
params->xfr_serial = 0;
params->retries = DEFAULT_RETRIES_DIG;
params->wait = DEFAULT_TIMEOUT_DIG;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment