mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-08 08:00:26 +08:00
添加DNS账号时自动读取DNS服务商下域名
This commit is contained in:
@@ -20,4 +20,5 @@ message DNSDomain {
|
||||
repeated DNSRoute routes = 10;
|
||||
int64 providerId = 11;
|
||||
int64 countNodeClusters = 12;
|
||||
bool isUp = 15;
|
||||
}
|
||||
|
||||
@@ -44,6 +44,9 @@ service DNSDomainService {
|
||||
|
||||
// 检查域名是否在记录中
|
||||
rpc existDNSDomainRecord (ExistDNSDomainRecordRequest) returns (ExistDNSDomainRecordResponse);
|
||||
|
||||
// 从服务商同步域名
|
||||
rpc syncDNSDomainsFromProvider(SyncDNSDomainsFromProviderRequest) returns (SyncDNSDomainsFromProviderResponse);
|
||||
}
|
||||
|
||||
// 创建域名
|
||||
@@ -150,4 +153,13 @@ message ExistDNSDomainRecordRequest {
|
||||
|
||||
message ExistDNSDomainRecordResponse {
|
||||
bool isOk = 1;
|
||||
}
|
||||
|
||||
// 从服务商同步域名
|
||||
message SyncDNSDomainsFromProviderRequest {
|
||||
int64 dnsProviderId = 1;
|
||||
}
|
||||
|
||||
message SyncDNSDomainsFromProviderResponse {
|
||||
bool hasChanges = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user