I try to connect an nRF9160-DK board to a private MQTT server.
Using DNS I get a failed responce (-2)
When testing with mosquitto_pub/_sub the DNS is functional.
When using the IPv4 address directly the broker is connected.
Using a Telenet IOT SIM, in Belgium.
Who can help me to figure out what is wrong?