We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ae554c + 13fb1c5 commit 4fd14e5Copy full SHA for 4fd14e5
src/hostnet/host.ml
@@ -1267,6 +1267,10 @@ module Dns = struct
1267
let getaddrinfo node family =
1268
Luv_lwt.in_luv (fun return ->
1269
Luv.DNS.getaddrinfo ~family ~node () (function
1270
+ | Error `EAI_NODATA ->
1271
+ (* Special handling for EAI_NODATA: Treat as success (host exists, but no address data) and
1272
+ Return an empty list. See https://github.com/moby/moby/issues/47628 for more context. *)
1273
+ return (Ok [])
1274
| Error err -> return (Error (`Msg (Luv.Error.strerror err)))
1275
| Ok x ->
1276
let ips =
0 commit comments