AT+QIDNSCFG Configure Address of DNS Server command

I issue the following command to the BG-95 modem:

AT+QIDNSCFG=1,“8.8.8.8”,“8.8.4.4”*
I get the following response:
AT+QIDNSCFG=1,“8.8.8.8”,“8.8.4.4”*
OK
When I run AT+QIDNSCFG=?, I get the following response:
+QIDNSCFG: (1-16),,
OK

Is that the correct response?

With few exceptions, a command ending in “=?” is the test syntax. This shows whether a command is implemented (returns “ERROR” if not), and what the range of permissible values is for supported commands.

In your case, the context range is 1 through 16.

Drop the “=” from the command for the read syntax. This should show the current setting.

1 Like

Hi,
Thank you for your answer. I did try AT+QIDNSCFG? and got an error in response.

Please always refer to the manuals. Try AT+QIDNSCFG=1

It works, thank you.