Missing support for IPv6 DNS resolution in serverless functions

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!

It should work. AWS Lambda can connect to IPv6 as far as I’m aware. Could you share a page where we can reprocuce this?