**+**\ [\ **no**\ ]\ **edns**\[\ =\ *N*\]
Use EDNS version (default is 0).
+**+**\ [\ **no**\ ]\ **msgdelay**\ =\ *T*
+ Wait the specified number of milliseconds before receiving each AXFR/IXFR message.
+
**+**\ [\ **no**\ ]\ **timeout**\ =\ *T*
Set the wait-for-reply interval in seconds (default is 5 seconds). This timeout
applies to each query attempt. Zero value or *notimeout* is interpreted as
return KNOT_EOK;
}
+static int opt_msgdelay(const char *arg, void *query)
+{
+ query_t *q = query;
+
+ if (str_to_u32(arg, &q->msgdelay) != KNOT_EOK) {
+ ERR("invalid +msgdelay=%s", arg);
+ return KNOT_EINVAL;
+ }
+
+ return KNOT_EOK;
+}
+
+static int opt_nomsgdelay(const char *arg, void *query)
+{
+ query_t *q = query;
+
+ q->msgdelay = 0;
+
+ return KNOT_EOK;
+}
+
static int opt_timeout(const char *arg, void *query)
{
query_t *q = query;
{ "edns", ARG_OPTIONAL, opt_edns },
{ "noedns", ARG_NONE, opt_noedns },
+ { "msgdelay", ARG_REQUIRED, opt_msgdelay },
+ { "nomsgdelay", ARG_NONE, opt_nomsgdelay },
+
{ "timeout", ARG_REQUIRED, opt_timeout },
{ "notimeout", ARG_NONE, opt_notimeout },
" +[no]alignment[=N] Pad with EDNS(0) to blocksize (%u or specify size).\n"
" +[no]subnet=SUBN Set EDNS(0) client subnet addr/prefix.\n"
" +[no]edns[=N] Use EDNS(=version).\n"
+ " +[no]msgdelay=T Wait this ms before receiving each XFR message.\n"
" +[no]timeout=T Set wait for reply interval in seconds.\n"
" +[no]retry=N Set number of retries.\n"
" +[no]expire Set the EXPIRE EDNS option.\n"