We have a (legacy, i.e. exports.handler = (event, context, callback) => {...}
) nodejs serverless function which is unable to send an HTTP request to some IPv6-only webserver (e.g. https://42.be) with the following error:
Could not resolve host: 42.be
although 42.be
is a valid address resolving to 2001:470:1f15:29a::1
.
Is this normal/expected? Are there any site configuration settings that have to be toggled perhaps? Are the latest type functions (i.e. export default async (req, context) => {...}
) any better at IPv6 DNS resolution?
Anybody having the same problem? Any workarounds?
Thank you!