自建DNS增加解析测试

This commit is contained in:
刘祥超
2021-08-09 18:41:30 +08:00
parent 7229b0db34
commit fa3e0ca6ab
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)