智能DNS增加记录权重

This commit is contained in:
GoEdgeLab
2023-03-02 20:06:54 +08:00
parent e6195aa632
commit 8bf06f7576
4 changed files with 110 additions and 68 deletions

View File

@@ -67,6 +67,7 @@ message CreateNSRecordRequest {
int32 ttl = 6;
repeated int64 nsRouteIds = 7 [deprecated = true];
repeated string nsRouteCodes = 8; // 路线代号
int32 weight = 15; // 权重
int32 mxPriority = 9; // mx优先级
@@ -91,6 +92,7 @@ message CreateNSRecordsRequest {
string value = 5;
int32 ttl = 6;
repeated string nsRouteCodes = 7; // 路线代号
int32 weight = 14; // 权重
int32 mxPriority = 8; // mx优先级
@@ -162,6 +164,7 @@ message ImportNSRecordsRequest {
string value = 4;
int32 ttl = 5;
int32 mxPriority = 6; // MX优先级
int32 weight = 12; // 权重
int32 srvPriority = 7; // SRV优先级
int32 srvWeight = 8; // SRV权重
@@ -183,6 +186,7 @@ message UpdateNSRecordRequest {
repeated int64 nsRouteIds = 7 [deprecated = true];
bool isOn = 8;
repeated string nsRouteCodes = 9; // 路线代号
int32 weight = 16; // 权重
int32 mxPriority = 10; // mx优先级