mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			691 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			691 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
syntax = "proto3";
 | 
						|
option go_package = "./pb";
 | 
						|
 | 
						|
package pb;
 | 
						|
 | 
						|
import "models/model_ns_route.proto";
 | 
						|
 | 
						|
// 域名服务访问记录
 | 
						|
message NSAccessLog {
 | 
						|
	int64 nsNodeId = 1;
 | 
						|
	int64 nsDomainId = 2;
 | 
						|
	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;
 | 
						|
	string recordName = 8;
 | 
						|
	string recordType = 9;
 | 
						|
	string recordValue = 10;
 | 
						|
	string networking = 11;
 | 
						|
	string serverAddr = 12;
 | 
						|
	int64 timestamp = 13;
 | 
						|
	string requestId = 14;
 | 
						|
	string timeLocal = 15;
 | 
						|
	string error = 16;
 | 
						|
	bool isRecursive = 19;
 | 
						|
} |