Issues with getaddrinfo() in the nRF Connect SDK MQTT Sample on nRF9161 Dev Kit

Hello, when building the MQTT sample in the nRF Connect SDK, `getaddrinfo()` is returning only -2 when built for the nRF9161 dev kit.  I'm using the onomondo SIM that came with the dev kit.  I've previously used the same hardware to successfully send data to a remote server over LTE using an `nrf_socket()`.  The terminal output is for the MQTT sample is:

*** Booting nRF Connect SDK v3.5.99-ncs1-1 ***
[00:00:00.305,816] <inf> network: Bringing network interface up and connecting to the network
[00:00:00.555,328] <inf> nrf_modem_lib_trace: Trace thread ready
[00:00:00.556,762] <inf> nrf_modem_lib_trace: Trace level override: 2
+CGEV: EXCE STATUS 0
+CEREG: 2,"BE7B","0028C717",9
+CSCON: 1
+CGEV: ME PDN ACT 0,0
+CNEC_ESM: 50,0
+CEREG: 5,"BE7B","0028C717",9,,,"11100000","11100000"
[00:01:21.983,795] <inf> network: Network connectivity established
[00:01:26.985,137] <err> mqtt_helper: getaddrinfo() failed, error -2
[00:01:26.985,137] <err> transport: Failed connecting to MQTT, error code: 2
+CSCON: 0

The failing `getaddrinfo()` can be found in /v2.6.1/nrf/subsys/net/lib/mqtt_helper/mqtt_helper.c on line 404 (the code on GitHub, which for now is the same).  The domain (test.mosquitto.org) is up and appears in DNS records, so I've tried commenting out this code and instead setting up the `struct addrinfo`s myself with hard coded IP addresses, but I haven't been able to get that working all afternoon.

So, does anyone have any ideas or suggestions?  I'm newish to Zephyr and nRF Connect so I'm open to almost anything.

Thanks

Related