Open dan0dbfe opened 3 days ago
Fixes #509 and https://github.com/moby/moby/issues/47628.
Dns.resolve
(rr list, unit) result
[]
Dns.getaddrinfo
(rr list, Msg) result
Make.answer
The "usual" tests in ocaml-ci seem to be green and the rest of the CI failures seem unrelated
ocaml-ci
Fixes #509 and https://github.com/moby/moby/issues/47628.
Dns.resolve
now returns(rr list, unit) result
to distinguish between[]
resulting from NOERROR or NXDOMAIN.Dns.getaddrinfo
returns(rr list, Msg) result
with no error handling just like current behaviorMake.answer
returns answers (including[]
) if there is no error, otherwise NXDOMAIN is returned.