Constant zebra_network::constants::DNS_LOOKUP_TIMEOUT
source ยท pub const DNS_LOOKUP_TIMEOUT: Duration;
Expand description
The timeout for DNS lookups.
[6.1.3.3 Efficient Resource Usage] from [RFC 1123: Requirements for Internet Hosts] suggest no less than 5 seconds for resolving timeout.
[RFC 1123: Requirements for Internet Hosts] https://tools.ietf.org/rfcmarkup?doc=1123 [6.1.3.3 Efficient Resource Usage] https://tools.ietf.org/rfcmarkup?doc=1123#page-77