dns: Add neighbor-based hostname resolution to local server

This commit is contained in:
世界
2026-08-30 17:41:40 +08:00
parent 35540b4ff3
commit f8a623e0c6
16 changed files with 290 additions and 71 deletions
+2 -1
View File
@@ -154,7 +154,8 @@ type RawLocalDNSServerOptions struct {
type LocalDNSServerOptions struct {
RawLocalDNSServerOptions
PreferGo bool `json:"prefer_go,omitempty"`
PreferGo bool `json:"prefer_go,omitempty"`
NeighborDomain badoption.Listable[string] `json:"neighbor_domain,omitempty"`
}
type RemoteDNSServerOptions struct {