mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-08 16:10:26 +08:00
智能DNS实现DoH功能
This commit is contained in:
@@ -59,6 +59,12 @@ service NSClusterService {
|
||||
// 修改集群的UDP设置
|
||||
rpc updateNSClusterUDP (UpdateNSClusterUDPRequest) returns (RPCSuccess);
|
||||
|
||||
// 查找集群的DoH设置
|
||||
rpc findNSClusterDoHConfig(FindNSClusterDoHConfigRequest) returns (FindNSClusterDoHConfigResponse);
|
||||
|
||||
// 修改集群的DoH设置
|
||||
rpc updateNSClusterDoH (UpdateNSClusterDoHRequest) returns (RPCSuccess);
|
||||
|
||||
// 计算使用某个SSL证书的集群数量
|
||||
rpc countAllNSClustersWithSSLCertId (CountAllNSClustersWithSSLCertIdRequest) returns (RPCCountResponse);
|
||||
|
||||
@@ -207,6 +213,15 @@ message FindNSClusterUDPConfigResponse {
|
||||
bytes udpJSON = 1;
|
||||
}
|
||||
|
||||
// 查找集群的DoH设置
|
||||
message FindNSClusterDoHConfigRequest {
|
||||
int64 nsClusterId = 1;
|
||||
}
|
||||
|
||||
message FindNSClusterDoHConfigResponse {
|
||||
bytes dohJSON = 1;
|
||||
}
|
||||
|
||||
// 修改集群的TCP设置
|
||||
message UpdateNSClusterTCPRequest {
|
||||
int64 nsClusterId = 1;
|
||||
@@ -225,6 +240,12 @@ message UpdateNSClusterUDPRequest {
|
||||
bytes udpJSON = 2;
|
||||
}
|
||||
|
||||
// 修改集群的DoH设置
|
||||
message UpdateNSClusterDoHRequest {
|
||||
int64 nsClusterId = 1;
|
||||
bytes dohJSON = 2;
|
||||
}
|
||||
|
||||
// 计算使用某个SSL证书的集群数量
|
||||
message CountAllNSClustersWithSSLCertIdRequest {
|
||||
int64 sslCertId = 1;
|
||||
|
||||
Reference in New Issue
Block a user