feat: working finally

This commit is contained in:
Karan Sharma 2020-12-10 21:44:04 +05:30
parent df306e18a9
commit 252d11c764
11 changed files with 186 additions and 200 deletions

View file

@ -1,12 +0,0 @@
package models
// Question represents a given query to the client.
// A question can have multiple domains, multiple nameservers
// but it's the responsibility of the client to send each question
// to the nameserver and collect responses.
type Question struct {
Domain []string
Nameservers []string
QClass []uint16
QType []uint16
}