Add dns reverse mapping

This commit is contained in:
世界
2023-03-23 19:08:48 +08:00
parent c74d3a53d4
commit 52b776b561
5 changed files with 68 additions and 7 deletions

View File

@@ -10,9 +10,10 @@ import (
)
type DNSOptions struct {
Servers []DNSServerOptions `json:"servers,omitempty"`
Rules []DNSRule `json:"rules,omitempty"`
Final string `json:"final,omitempty"`
Servers []DNSServerOptions `json:"servers,omitempty"`
Rules []DNSRule `json:"rules,omitempty"`
Final string `json:"final,omitempty"`
ReverseMapping bool `json:"reverse_mapping,omitempty"`
DNSClientOptions
}