Getaddrinfo fail inside the mqttClientService

here says it is fixed after legato 20.04:

I assume you are using WP76 module, have you tried in FW17 of WP76 which is using legato 21.05?

(Bear in mind that once module upgraded to FW R17, you cannot go back to FW R16.x)