add tld-dns-zone for customizing top-level domain (TLD) zone (#1436)

This commit is contained in:
agusti moll
2025-10-03 18:18:10 +02:00
committed by GitHub
parent ad7dc3a129
commit 5e48626cb9
9 changed files with 91 additions and 40 deletions
+2
View File
@@ -10,6 +10,7 @@ use serde::{Deserialize, Serialize};
use crate::{
common::stun::StunInfoCollector,
instance::dns_server::DEFAULT_ET_DNS_ZONE,
proto::{
acl::Acl,
common::{CompressionAlgoPb, PortForwardConfigPb, SocketType},
@@ -50,6 +51,7 @@ pub fn gen_default_flags() -> Flags {
multi_thread_count: 2,
encryption_algorithm: "aes-gcm".to_string(),
disable_sym_hole_punching: false,
tld_dns_zone: DEFAULT_ET_DNS_ZONE.to_string(),
}
}