add a type for DNS
This commit is contained in:
parent
9cb058c7ac
commit
12e1ffffda
1 changed files with 6 additions and 0 deletions
|
@ -33,3 +33,9 @@ type dns_packet =
|
|||
; authorities : dns_record list
|
||||
; additionals : dns_record list
|
||||
}
|
||||
|
||||
module DNSType = struct
|
||||
let a = 1
|
||||
let ns = 2
|
||||
let txt = 16
|
||||
end
|
||||
|
|
Reference in a new issue