add a type for DNS

This commit is contained in:
Mylloon 2023-07-04 10:49:37 +02:00
parent 9cb058c7ac
commit 12e1ffffda
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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