Add fallback local DNS server for iOS

This commit is contained in:
世界
2025-02-20 17:18:47 +08:00
parent 5c4211e849
commit 9a5f69f435
11 changed files with 293 additions and 45 deletions

View File

@@ -19,10 +19,6 @@ import (
mDNS "github.com/miekg/dns"
)
func RegisterTransport(registry *dns.TransportRegistry) {
dns.RegisterTransport[option.LocalDNSServerOptions](registry, C.DNSTypeLocal, NewTransport)
}
var _ adapter.DNSTransport = (*Transport)(nil)
type Transport struct {