Fix DNSTT Default

This commit is contained in:
2026-07-24 14:46:42 -03:00
parent 7c51ea3f86
commit 1576ce9038
11 changed files with 528 additions and 138 deletions
+2 -5
View File
@@ -595,11 +595,8 @@ func startDNSTTInstance(cfg *DNSTTConfig, sshConf *ssh.ServerConfig) error {
return err
}
udpListen := cfg.UDPListen
if udpListen == "" {
udpListen = defaultDNSTTListen
cfg.UDPListen = udpListen
}
udpListen, _ := normalizeDNSTTListenDefault(cfg.UDPListen)
cfg.UDPListen = udpListen
fakeDomains := domains
if cfg.FakeDNSEnabled {