自建DNS增加解析测试

This commit is contained in:
GoEdgeLab
2021-08-09 18:41:30 +08:00
parent db11331c4e
commit 21ccd0c46e
8 changed files with 179 additions and 2 deletions

View File

@@ -453,6 +453,11 @@ func (this *APINode) registerServices(server *grpc.Server) {
pb.RegisterNSRecordHourlyStatServiceServer(server, instance)
this.rest(instance)
}
{
instance := this.serviceInstance(&nameservers.NSQuestionOptionService{}).(*nameservers.NSQuestionOptionService)
pb.RegisterNSQuestionOptionServiceServer(server, instance)
this.rest(instance)
}
{
instance := this.serviceInstance(&nameservers.NSService{}).(*nameservers.NSService)
pb.RegisterNSServiceServer(server, instance)