mirage / ocaml-dns

OCaml implementation of the DNS protocol
BSD 2-Clause "Simplified" License
105 stars 43 forks source link

dns-client: make edns optional and configurable by API #278

Closed hannesm closed 3 years ago

hannesm commented 3 years ago

val Dns_client.Make.create now includes ?edns:[`None | `Auto | `Manual of Dns.Edns.t])

as suggested by @orbitz in #276

hannesm commented 3 years ago

//cc @reynir the 2nd and 3rd commit should fix the behaviour we observed yesterday (TLS authentication failure). in the end, I think it is fine to ahve a map IP -> Domain_name in the dns-client source code since I can't see a different way how to proceed.

orbitz commented 3 years ago

Woo, thank you for the quick turnaround

hannesm commented 3 years ago

merged manually with review by @reynir