robur-coop / udns

[deprecated, developmeht moved to https://github.com/mirage/ocaml-dns] µDNS - an opinionated Domain Name System (DNS) library
BSD 2-Clause "Simplified" License
55 stars 5 forks source link

decode_ntc: allow TLSA to be a domain_name or a service_name #17

Closed hannesm closed 5 years ago

hannesm commented 5 years ago

//cc @cfcs - this fixes the issue you see in 16 (since robur.io provides TLSA records for the robur.io domain name). The code is getting really messy here, and need to be adapted so that a Domain_name.t carries that property, to-be-checked by the application (instead of requiring certain resource record types to adhere to restrictions).