Some cases of DNS resolution from lua fail if OS provides only IPv6 resolvers
Conditions:
-
resolv.conf
only containing IPv6 nameservers. Mix works OK. I believe that very few people have IPv6-only there, luckily. - Use DNS resolution based on
lua-cqueues
, e.g.prefill
module or root trust anchors bootstrapping – both only after !894 (merged) (kresd >= 5.0.0).
Result example:
[prefill] fetch of `https://www.internic.net/domain/root.zone` failed: HTTP client library error: A non-recoverable error occurred when attempting to resolve the name (-1684960053)), will retry root zone download in 09 minutes 59 seconds
This is a problem in lua libraries that we've chosen to use: https://github.com/wahern/dns/issues/23