DNS访问日志显示匹配的线路

This commit is contained in:
GoEdgeLab
2021-08-20 11:27:22 +08:00
parent ecd5d3ad29
commit 7bef4d6d30
2 changed files with 74 additions and 56 deletions

View File

@@ -3,6 +3,8 @@ option go_package = "./pb";
package pb;
import "models/model_ns_route.proto";
// 域名服务访问记录
message NSAccessLog {
int64 nsNodeId = 1;
@@ -10,6 +12,7 @@ message NSAccessLog {
int64 nsRecordId = 3;
repeated int64 nsRouteIds = 4 [deprecated = true];
repeated string nsRouteCodes = 17;
repeated NSRoute nsRoutes = 18; // 仅供查看访问日志时使用
string remoteAddr = 5;
string questionName = 6;
string questionType = 7;