mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-10 02:53:12 +00:00
19 lines
454 B
Go
19 lines
454 B
Go
package option
|
|
|
|
type DNSOptions struct {
|
|
Servers []DNSServerOptions `json:"servers,omitempty"`
|
|
DNSClientOptions
|
|
}
|
|
|
|
type DNSClientOptions struct {
|
|
DisableCache bool `json:"disable_cache,omitempty"`
|
|
DisableExpire bool `json:"disable_expire,omitempty"`
|
|
}
|
|
|
|
type DNSServerOptions struct {
|
|
Tag string `json:"tag,omitempty"`
|
|
Address string `json:"address"`
|
|
AddressResolver string `json:"address_resolver,omitempty"`
|
|
DialerOptions
|
|
}
|