智能DNS支持应答模式配置

This commit is contained in:
GoEdgeLab
2022-09-23 19:01:18 +08:00
parent 92460d5db8
commit e6e73991cf
2 changed files with 19 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ type NSCluster struct {
Hosts dbs.JSON `field:"hosts"` // DNS主机地址
AutoRemoteStart bool `field:"autoRemoteStart"` // 自动远程启动
TimeZone string `field:"timeZone"` // 时区
Answer dbs.JSON `field:"answer"` // 应答设置
}
type NSClusterOperator struct {
@@ -37,6 +38,7 @@ type NSClusterOperator struct {
Hosts any // DNS主机地址
AutoRemoteStart any // 自动远程启动
TimeZone any // 时区
Answer any // 应答设置
}
func NewNSClusterOperator() *NSClusterOperator {