mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 12:20:27 +08:00
集群DNS设置中增加”包含Ln节点“选项
This commit is contained in:
6994
build/rpc.json
6994
build/rpc.json
File diff suppressed because it is too large
Load Diff
@@ -2,9 +2,10 @@ package dnsconfigs
|
||||
|
||||
// ClusterDNSConfig 集群的DNS设置
|
||||
type ClusterDNSConfig struct {
|
||||
CNameRecords []string `yaml:"cnameRecords" json:"cnameRecords"` // 自动加入的CNAME
|
||||
TTL int32 `yaml:"ttl" json:"ttl"` // 默认TTL,各个DNS服务商对记录的TTL的限制各有不同
|
||||
CNameAsDomain bool `yaml:"cnameAsDomain" json:"cnameAsDomain"` // 是否可以像域名一样直接访问CNAME
|
||||
CNameRecords []string `yaml:"cnameRecords" json:"cnameRecords"` // 自动加入的CNAME
|
||||
TTL int32 `yaml:"ttl" json:"ttl"` // 默认TTL,各个DNS服务商对记录的TTL的限制各有不同
|
||||
CNameAsDomain bool `yaml:"cnameAsDomain" json:"cnameAsDomain"` // 是否可以像域名一样直接访问CNAME
|
||||
IncludingLnNodes bool `yaml:"includingLnNodes" json:"includingLnNodes"` // 是否包含Ln节点
|
||||
|
||||
NodesAutoSync bool `yaml:"nodesAutoSync" json:"nodesAutoSync"` // 是否自动同步节点状态
|
||||
ServersAutoSync bool `yaml:"serversAutoSync" json:"serversAutoSync"` // 是否自动同步服务状态
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -274,6 +274,7 @@ message FindEnabledNodeClusterDNSResponse {
|
||||
repeated string cnameRecords = 7;
|
||||
int32 ttl = 8;
|
||||
bool cnameAsDomain = 9;
|
||||
bool includingLnNodes = 10;
|
||||
}
|
||||
|
||||
// 计算使用某个DNS服务商的集群数量
|
||||
@@ -315,6 +316,7 @@ message UpdateNodeClusterDNSRequest {
|
||||
repeated string cnameRecords = 6;
|
||||
int32 ttl = 7;
|
||||
bool cnameAsDomain = 8;
|
||||
bool includingLnNodes = 9;
|
||||
}
|
||||
|
||||
// 检查集群的DNS是否有变化
|
||||
|
||||
Reference in New Issue
Block a user