AT+QIDNSCFG primary and secondary DNS address

What is the behavior of the primary and secondary DNS addresses?
Is the secondary DNS used automatically if the primary DNS fails?

Yes, your understanding is correct.

Thank you. How is a “failure” defined in this context?
For example, does the module switch to the secondary DNS after a timeout, or also if the primary DNS responds with an error?

If the primary DNS resolution fails, an error code will also be returned, and then it will automatically switch to the secondary DNS to attempt the resolution.

1 Like