Hi!
I’m trying to connect to our server, but I’m getting a DNS error. If I change to the IP address, everything works fine. Look bellow:
problematic transaction:
AT+CIMI
901288003969174
OK
AT+CCID
+CCID: 89882390000123427158
OK
AT+CPIN?
+CPIN: READY
OK
AT+CNUM
OK
SIM's MCC: 901
SIM's MNC: 28
SIM's CCID: 89882390000123427158
SIM's CIMI: 901288003969174
SIM's PIN: READY
>
>> Basic configuration of the modem
>
ATE1
ERROR
ATZ
OK
AT+KSLEEP=2
OK
AT&D0
OK
AT&K3
OK
AT+CPMS="ME","ME","ME"
+CPMS: 0,50,0,50,0,50
OK
AT+CMGF=1
OK
+CREG: 0
+CREG: 2
AT+CMEE=1
OK
AT+KSREP=1
OK
AT+KSIMDET=1
OK
AT+KSRAT?
+KSRAT: 1
OK
AT+CREG=1
OK
AT+CNMI=2,1,0,0,0
OK
AT+COPS=3,2
AT+CGDCONT=1,"IPV4V6",""
AT+CEER
OK
>
>> Starting bearer and testing APN
>
> Waiting for registration in the network (+CREG: 1 or +CREG: 5)
OK
+CEER:
OK
+CREG: 0
+CREG: 2
+CREG: 3
+CREG: 2
+CREG: 5
AT+CGDCONT=1,"IP","lpwa.vodafone.iot"
OK
AT+KCNXCFG=1,"GPRS","lpwa.vodafone.iot"
OK
AT+CSQ
+CSQ: 23,0
OK
AT+COPS?
+COPS: 0,2,"23201",9
OK
AT+KBND?
+KBND: 1,00000000000000080000
OK
AT+WDSS?
+WDSS: 1,0
+WDSS: 2,1
OK
AT+KCNXTIMER=1,30,3
OK
AT+KCNXUP=1
OK
+KCNX_IND: 1,1,0
AT+CGDCONT?
+CGDCONT: 1,"IP","lpwa.vodafone.iot",,0,0,,0,,,,,,,,
OK
AT+CGPADDR=1
+CGPADDR: 1,"100.93.224.17"
OK
>
>> Connecting to PI server
>
>
>>> Calculating message size
>
AT+KTCPCFG?
OK
AT+KTCPCFG=1,0,"metos.at",80
+KTCPCFG: 1
OK
AT+KTCPSTART=1
+CME ERROR:
+KTCP_NOTIF: 1,5
ok transaction:
>
>> Basic configuration of the modem
>
ATE1
ERROR
ATZ
OK
+SIM: 0
AT+KSLEEP=2
OK
AT&D0
OK
AT&K3
OK
AT+CPMS="ME","ME","ME"
+CPMS: 0,50,0,50,0,50
OK
AT+CMGF=1
OK
AT+CMEE=1
OK
AT+KSREP=1
OK
AT+KSIMDET=1
OK
AT+KSRAT?
+KSRAT: 1
OK
AT+CREG=1
OK
AT+CNMI=2,1,0,0,0
OK
AT+COPS=3,2
OK
AT+COPS?
+COPS: 0
OK
AT+WDSI=4479
OK
+CREG: 0
+CREG: 2
AT&W
OK
AT+CGDCONT=1,"IPV4V6",""
AT+CFUN=1,1
OK
> Waiting for complete initialization of the modem (KSUP: 0)
+CREG: 5
OK
+CREG: 0
+WDSI: 0
+KSUP: 0
AT+COPS=3,2
OK
>
>> Starting bearer and testing APN
>
> Waiting for registration in the network (+CREG: 1 or +CREG: 5)
+CREG: 2
+SIM: 0
+CREG: 0
+CREG: 2
+CREG: 5
AT+CGDCONT=1,"IP","lpwa.vodafone.iot"
OK
AT+KCNXCFG=1,"GPRS","lpwa.vodafone.iot"
OK
AT+CSQ
+CSQ: 23,0
OK
AT+COPS?
+COPS: 0,2,"23201",9
OK
AT+KBND?
+KBND: 1,00000000000000080000
OK
AT+WDSS?
+WDSS: 1,0
+WDSS: 2,1
OK
AT+KCNXTIMER=1,30,3
OK
AT+KCNXUP=1
OK
+KCNX_IND: 1,1,0
AT+CGDCONT?
+CGDCONT: 1,"IP","lpwa.vodafone.iot",,0,0,,0,,,,,,,,
OK
AT+CGPADDR=1
+CGPADDR: 1,"100.93.225.125"
OK
>
>> Connecting to PI server
>
>
>>> Calculating message size
>
AT+KTCPCFG?
OK
AT+KTCPCFG=1,0,"80.122.185.10",80
+KTCPCFG: 1
OK
AT+KTCPSTART=1
CONNECT
what is the possible source of this problem?
best regards,
Rafael Dias