Get darwin local DNS server from libresolv

This commit is contained in:
世界
2025-02-20 16:40:53 +08:00
parent c1189e2a7b
commit 5c4211e849
7 changed files with 90 additions and 27 deletions

View File

@@ -27,6 +27,7 @@ var _ adapter.DNSTransport = (*Transport)(nil)
type Transport struct {
dns.TransportAdapter
ctx context.Context
hosts *hosts.File
dialer N.Dialer
}