Add alternative resolver path with passthru cache-characteristics. (resolves #158)

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-09-10 00:01:26 +00:00
1 parent 2e13e87e43
commit 248d778290
3 files changed
+60 -6

No files matched your search

+12
View File
@@ -366,6 +366,18 @@ pub struct Config {
#[serde(default = "default_ip_lookup_strategy")]
pub ip_lookup_strategy: u8,
/// List of domain patterns resolved via the alternative path without any
/// persistent cache, very small memory cache, and no enforced TTL. This
/// is intended for internal network and application services which require
/// these specific properties. This path does not support federation or
/// general purposes.
///
/// example: ["*\.dns\.podman$"]
///
/// default: []
#[serde(default, with = "serde_regex")]
pub dns_passthru_domains: RegexSet,
/// Max request size for file uploads in bytes. Defaults to 20MB.
///
/// default: 20971520