自建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

@@ -0,0 +1,20 @@
package nameservers
// NSQuestionOption DNS请求选项
type NSQuestionOption struct {
Id uint64 `field:"id"` // ID
Name string `field:"name"` // 选项名
Values string `field:"values"` // 选项值
CreatedAt uint64 `field:"createdAt"` // 创建时间
}
type NSQuestionOptionOperator struct {
Id interface{} // ID
Name interface{} // 选项名
Values interface{} // 选项值
CreatedAt interface{} // 创建时间
}
func NewNSQuestionOptionOperator() *NSQuestionOptionOperator {
return &NSQuestionOptionOperator{}
}