core: Propagate TSIG secrets to DoT server (#7928)

This commit is contained in:
Yong Tang
2026-03-16 06:42:38 -07:00
committed by GitHub
parent c0d676e026
commit 25d1ab9462
2 changed files with 57 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ func (s *ServerTLS) Serve(l net.Listener) error {
// Only fill out the TCP server for this one.
s.server[tcp] = &dns.Server{Listener: l,
Net: "tcp-tls",
TsigSecret: s.tsigSecret,
MaxTCPQueries: tlsMaxQueries,
ReadTimeout: s.ReadTimeout,
WriteTimeout: s.WriteTimeout,