update resolver

This commit is contained in:
ginuerzh
2023-11-08 20:51:43 +08:00
parent 6980fcfb19
commit a697bf2e35
4 changed files with 84 additions and 4 deletions

View File

@ -198,6 +198,8 @@ type NameserverConfig struct {
Hostname string `yaml:",omitempty" json:"hostname,omitempty"`
TTL time.Duration `yaml:",omitempty" json:"ttl,omitempty"`
Timeout time.Duration `yaml:",omitempty" json:"timeout,omitempty"`
Async bool `yaml:",omitempty" json:"async,omitempty"`
Only string `yaml:",omitempty" json:"only,omitempty"`
}
type ResolverConfig struct {