Hi,
We were trying with a new n/w carrier in Canada ( Maxim ). nrf9160 is able to connect to the network, but it is not able to resolve our server URL ipv4 address. Below error is coming when 'getaddrinfo()' function is called.
getaddrinfo failed, ERR: EAI_SYSTEM
The network carrier team confirmed that they have support for ipv4 address. Also the server URL is valid and ip resolving is working with another network.
We tried sending AT+CGDCONT? and AT+CGCONTRDP=0. Below is the response of each.
AT+CGDCONT?
+CGDCONT: 0,"IP","M2MXNBIOT2","10.247.128.244",0,0
OK
AT+CGCONTRDP=0
+CGCONTRDP: 0,,"M2MXNBIOT2","",""
OK
Can you please help in understanding this issue?
Is this because of any DNS server related issue?
Also we would like to know how we can set a custom DNS server?
Thanks
Aswin