Add strategy setting for each dns server

This commit is contained in:
世界 2022-08-22 12:01:50 +08:00
parent 83cea9475d
commit ac0ead1473
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
6 changed files with 47 additions and 35 deletions

View file

@ -28,6 +28,7 @@ type DNSServerOptions struct {
AddressResolver string `json:"address_resolver,omitempty"`
AddressStrategy DomainStrategy `json:"address_strategy,omitempty"`
AddressFallbackDelay Duration `json:"address_fallback_delay,omitempty"`
Strategy DomainStrategy `json:"strategy,omitempty"`
Detour string `json:"detour,omitempty"`
}