syntax = "proto3";
option go_package = "./pb";

package pb;

service DNSService {
	// 查找问题
	rpc findAllDNSIssues (FindAllDNSIssuesRequest) returns (FindAllDNSIssuesResponse);
}

// 查找问题
message FindAllDNSIssuesRequest {
	int64 nodeClusterId = 1;
}

message FindAllDNSIssuesResponse {
	repeated DNSIssue issues = 1;
}

message DNSIssue {
	string target = 1;
	int64 targetId = 2;
	string type = 3;
	string description = 4;
	map<string, string> params = 5;
}