dns_fallback_to_tcp

March 26, 2020 Contributors

Name

dns_fallback_to_tcp — whether or not to fail over to TCP in place of UDP

Synopsis

dns_fallback_to_tcp = false

Description

Momentum uses User Datagram Protocol (UDP) for DNS queries. However, the size of a UDP packet is limited and a DNS query can exceed it. Set this option to true and Momentum tries first with UDP then fails over to TCP if the query response is too large. This avoids having lengthy DNS responses truncated.

The default value is false.

Scope

dns_fallback_to_tcp is valid in the global scope.