BC66 error when sending AT+QIDNSGIP

Hi,

I have several times an error when i send this command AT+QIDNSGIP=1,telegraf.hello.io
but ones it is ok i can send this command sseveral times and it will be ok.
but after wake up from deepsleep i want to check if my dns is the same and this takes times like the first time because all the errors.
Is there a possibility to avoid errors?

regards,

05:05:02.091 -> DNS 1 ? ;

05:05:02.091 -> ERROR

05:05:02.423 -> read timeout telegraf2

05:05:02.721 -> read timeout telegraf3

05:05:02.754 ->

05:05:02.754 -> DNS IP ? ; get ip dns

05:05:03.286 -> timeout

05:05:03.286 ->

05:05:03.319 -> DNS 1 ? ;

05:05:03.319 -> ERROR

05:05:03.619 -> read timeout telegraf2

05:05:03.920 -> read timeout telegraf3

05:05:03.954 ->

05:05:03.954 -> DNS IP ? ; get ip dns

05:05:04.488 -> timeout

05:05:04.488 ->

05:05:04.488 -> DNS 1 ? ;

05:05:04.521 -> ERROR

05:05:04.819 -> read timeout telegraf2

05:05:05.118 -> read timeout telegraf3

05:05:05.151 ->

05:05:05.151 -> DNS IP ? ; get ip dns

05:05:05.684 -> timeout

05:05:05.717 ->

05:05:05.717 -> DNS 1 ? ;

05:05:05.717 -> ERROR

05:05:06.016 -> read timeout telegraf2

05:05:06.316 -> read timeout telegraf3

05:05:06.349 ->

05:05:06.349 -> DNS IP ? ; get ip dns

05:05:06.881 -> timeout

05:05:06.914 ->

05:05:06.914 -> DNS 1 ? ;

05:05:06.914 -> ERROR

05:05:07.213 -> read timeout telegraf2

05:05:07.562 -> read timeout telegraf3

05:05:07.562 ->

05:05:07.562 -> DNS IP ? ; get ip dns

05:05:08.095 -> timeout

05:05:08.095 ->

05:05:08.095 -> DNS 1 ? ;

05:05:08.129 -> ERROR

05:05:08.395 -> read timeout telegraf2

05:05:08.727 -> read timeout telegraf3

05:05:08.760 ->

05:05:08.760 -> DNS IP ? ; get ip dns

05:05:09.192 ->

05:05:09.192 -> DNS 1 ? ;

05:05:09.225 ->
05:05:09.225 ->

05:05:09.225 -> OK

05:05:09.225 ->

05:05:09.225 -> +timeout

05:05:09.656 -> read timeout telegraf3

05:05:09.690 ->

05:05:09.690 -> DNS IP ? ; get ip dns

05:05:10.121 ->

05:05:10.121 -> DNS 1 ? ;

05:05:10.154 -> OK

05:05:10.154 ->

05:05:10.154 -> +

05:05:10.187 -> DNS IP ? ; QIURC: “dnsgip”,“35.180.20.35”

No one can help me ?

Hi Zineddine
but after wake up from deepsleep i want to check if my dns is the same and this takes times like the first time because all the errors.

[Abner] In fact, it is possible to directly use IP address AT + QIOPEN, but to prevent subsequent IP address changes, it is recommended to use AT + QIDNSGIP = 1, telegraf.hello.io and then AT + QIOPEN.

And why im getting al this error ?

and could you please tell me what is the solution?

regards

because i dont understand this is actualy what i do
1wake up from sleep
2 send at+qidnsgip
3 if at+qidnsgip ok quiopen
4 if quiopen ok send message
5 close socket
6 waiting for deep sleep

so i suppose im correct?

regads,
Zineddine

@Abner-Q ? im right or i forget something ?

i also find something interesting i dont have the error when i check the ip adress of google.com

Hi Zineddine
error because DNS resolution failed.

Hi Zineddine
I suppose you correct,but send at+qidnsgip may not succeed.if return error,Need to set DNS manually.

It was a version problem releas A07 is working well

Hi Zineddine
05 version does not support DNS modification.
Software versions above 07 can be modified.