BG96 DNS config AT Command throwing "ERROR"

Hi Team,
I am using BG96 module with NB-IoT network when i tried to use HTTPPOST im getting +CMEERROR: 714 [this means DNS parse failed] .i followed all the process mentioned in Application Note still i cant able to set “AT+QIDNSCFG” it is throwing error.

Please check below Logs :

AT+QIACT=1
OK

AT+QIACT?
+QIACT: 1,1,2,“2409:4040:F20:40C2:0:0:F608:500”
OK

AT+QHTTPURL=54,80

CONNECT
https://.dev.*.com:8443/apikeyservice/v1/apikeys [ i changed domain name here to ****]
OK

AT+QHTTPPOST=101,80,80
+CME ERROR: 714

AT+QIDNSCFG=1,“8.8.8.8”,"8.8.4.4"

ERROR

AT+QIDNSGIP=1,“www.*.dev..com” [ i changed domain name here to ****]
OK
+QIURC: “dnsgip”,565

and also one thing for HTTPS connection , ca certificates are mandatory ?

Thanks in advance / Sasikanth.

based on your test result , you have got one IPV6 address

pls set APN as below to get one IPV4 address,In fact, IPv4 and IPv6 are two independent networks. If we don’t use workaround, they won’t work

AT+CGDCONT=1,“IP”,“APN”,

Hi Stephen.Li,
I am using JIO NB-IoT SIM [india], JIo supports only IPV6 . if i set IP i wont work ,

anyway i will try this .if i got any error i will comeback :slight_smile:

Thank You.

Try to use the google DNS in IPv6 format:
AT+QIDNSCFG=1,“2001:4860:4860::8888",“2001:4860:4860::8844”

Google Public DNS IP addresses

The Google Public DNS IP addresses (IPv4) are as follows:

  • 8.8.8.8
  • 8.8.4.4

The Google Public DNS IPv6 addresses are as follows:

  • 2001:4860:4860::8888
  • 2001:4860:4860::8844

You can use either address as your primary or secondary DNS server.

Hi nestorayuso

i tried above also when i try to sent this AT+QIDNSCFG=1,“2001:4860:4860::8888",“2001:4860:4860::8844”
module giving response is ERROR.

any solution for that AT Command it self giving error.

Thank You .

try earlier versions of the firmware.

Trying checking your inverted commas, they are a bit different , I had the same issue after using your code. The reason is

“” are used here while “” should be used instead.

replacing the commas fixed my issue at least

the forum formats those. we can’t know if OP used the right type or not. or whether you did.

if you want to present code, wrap it in code tags, which are backticks.

`this is code and this is a "quoted string", see?`

this is code and this is a "quoted string", see?

this is code and this is a “quoted string”, see?