Remove legacy DNS server formats

This commit is contained in:
世界
2026-03-25 19:09:13 +08:00
parent 93bc5caea9
commit 354e2bbff7
18 changed files with 99 additions and 509 deletions

View File

@@ -72,11 +72,6 @@ type DNSTransport interface {
Exchange(ctx context.Context, message *dns.Msg) (*dns.Msg, error)
}
type LegacyDNSTransport interface {
LegacyStrategy() C.DomainStrategy
LegacyClientSubnet() netip.Prefix
}
type DNSTransportRegistry interface {
option.DNSTransportOptionsRegistry
CreateDNSTransport(ctx context.Context, logger log.ContextLogger, tag string, transportType string, options any) (DNSTransport, error)