struct DNSDistStats g_stats;
MetricDefinitionStorage g_metricDefinitions;
-uint16_t g_maxOutstanding{10240};
+uint16_t g_maxOutstanding{std::numeric_limits<uint16_t>::max()};
bool g_verboseHealthChecks{false};
uint32_t g_staleCacheEntriesTTL{0};
bool g_syslog{true};
The experimental :func:`setTCPUseSinglePipe` directive can be used so that all the incoming TCP connections are put into a single queue and handled by the first TCP worker available.
When dispatching UDP queries to backend servers, dnsdist keeps track of at most **n** outstanding queries for each backend.
-This number **n** can be tuned by the :func:`setMaxUDPOutstanding` directive, defaulting to 10240, with a maximum value of 65535.
+This number **n** can be tuned by the :func:`setMaxUDPOutstanding` directive, defaulting to 10240 (65535 since 1.4.0), with a maximum value of 65535.
Large installations are advised to increase the default value at the cost of a slightly increased memory usage.
Most of the query processing is done in C++ for maximum performance, but some operations are executed in Lua for maximum flexibility:
:param int num:
.. function:: setMaxUDPOutstanding(num)
+ .. versionchanged:: 1.4.0
+ Before 1.4.0 the default value was 10240
- Set the maximum number of outstanding UDP queries to a given backend server. This can only be set at configuration time and defaults to 10240
+ Set the maximum number of outstanding UDP queries to a given backend server. This can only be set at configuration time and defaults to 65535 (10240 before 1.4.0)
:param int num: