Expand description
Configures outbound discovery, DNS, and HTTP clients.
Discovery settings bound federation well-known requests. DNS settings control resolver behavior, while HTTP settings govern outbound clients.
Re-exportsยง
use regex::RegexSet;๐use serde::Deserialize;๐use serde::Deserialize;๐use tuwunel_macros::config_example_generator;๐use super::deserialize_bytesize_usize;๐use super::true_fn;๐
Structsยง
- Discovery
- Federation server discovery
- Dns
- DNS resolver
- Http
- Outbound HTTP requests
- Network
- Outbound networking
Constantsยง
- TUWUNEL_
CONFIG_ ๐SECTION_ DISCOVERY - TUWUNEL_
CONFIG_ ๐SECTION_ DNS - TUWUNEL_
CONFIG_ ๐SECTION_ HTTP - TUWUNEL_
CONFIG_ ๐SECTION_ NETWORK
Functionsยง
- default_
attempts ๐ - default_
cache_ ๐entries - default_
conn_ ๐timeout - default_
idle_ ๐per_ host - default_
idle_ ๐timeout - default_
ip_ ๐lookup_ strategy - default_
ip_ ๐range_ denylist - default_
max_ ๐response_ size - default_
min_ ๐ttl - default_
min_ ๐ttl_ nxdomain - default_
request_ ๐timeout - default_
timeout ๐ - default_
total_ ๐timeout - default_
well_ ๐known_ conn_ timeout - default_
well_ ๐known_ timeout