uint32_t d_maxTCPReadIOsPerQuery{50};
uint32_t d_tcpBanDurationForExceedingMaxReadIOsPerQuery{60};
uint32_t d_tcpBanDurationForExceedingTCPTLSRate{10};
- uint16_t d_maxUDPOutstanding{std::numeric_limits<uint16_t>::max()};
+ uint32_t d_maxUDPOutstanding{65536U};
TimeFormat d_structuredLoggingTimeFormat{TimeFormat::Numeric};
uint8_t d_udpTimeout{2};
uint8_t d_tcpConnectionsOverloadThreshold{90};
{"setDoHDownstreamCleanupInterval", {[](dnsdist::configuration::ImmutableConfiguration& config, uint64_t newValue) { config.d_outgoingDoHCleanupInterval = newValue; }, std::numeric_limits<uint32_t>::max()}},
{"setDoHDownstreamMaxIdleTime", {[](dnsdist::configuration::ImmutableConfiguration& config, uint64_t newValue) { config.d_outgoingDoHMaxIdleTime = newValue; }, std::numeric_limits<uint16_t>::max()}},
#endif /* HAVE_DNS_OVER_HTTPS && HAVE_NGHTTP2 */
- {"setMaxUDPOutstanding", {[](dnsdist::configuration::ImmutableConfiguration& config, uint64_t newValue) { config.d_maxUDPOutstanding = newValue; }, std::numeric_limits<uint16_t>::max()}},
+ {"setMaxUDPOutstanding", {[](dnsdist::configuration::ImmutableConfiguration& config, uint64_t newValue) { config.d_maxUDPOutstanding = newValue; }, 65536U}},
{"setWHashedPertubation" /* Deprecated */, {[](dnsdist::configuration::ImmutableConfiguration& config, uint64_t newValue) { config.d_hashPerturbation = newValue; }, std::numeric_limits<uint32_t>::max()}},
{"setWHashedPerturbation", {[](dnsdist::configuration::ImmutableConfiguration& config, uint64_t newValue) { config.d_hashPerturbation = newValue; }, std::numeric_limits<uint32_t>::max()}},
#ifndef DISABLE_RECVMMSG
runtime-configurable: false
- name: "max_outstanding_per_backend"
type: "u32"
- default: 65535
+ default: 65536
lua-name: "setMaxUDPOutstanding"
internal-field-name: "d_maxUDPOutstanding"
runtime-configurable: false
.. function:: setMaxUDPOutstanding(num)
- 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).
+ Set the maximum number of outstanding UDP queries to a given backend server. This can only be set at configuration time and defaults to 65536 (10240 before 1.4.0).
:param int num: