mirage / ocaml-dns

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

secondary server behaviour when the other end of a transfer key is not reachable #341

Closed hannesm closed 11 months ago

hannesm commented 1 year ago

There are lots of errors in the log (fine), lots of connections are attempted, leading to a high memory usage (at least in the mirage stack).

The failure scenarios in the server implementation should be rethought to reduce the resource consumption.

A related issue is that once a zone expired (i.e. primary is not reachable for a long time), there's no path to recover / retry to retrieve that zone (AFAICT).

hannesm commented 11 months ago

347 fixes this issue.