Page 1 of 1

Time out settings for DNS services

Posted: Wed Jun 14, 2023 10:40 am
by prvermas
Hi All,

For one of my projects I am using MQTT client, PPPoS in esp-idf version 4.3.1. The network interface is provided by the Quectel Module EG91
Facing a problem where in my mqtt client is unable to to get the host name some times. With reboots ( in some cases it is >50) the system is able to resolve the host name.
exact error that is given is

"esp-tls: couldn't get hostname for :a2h33tntrjsi2u-ats.iot.us-east-2.amazonaws.com:"

was wondering if I could change the DNS timeout values, to test timeouts or in case someone can provide another solution to this. I appreciate a fast response on this.

Re: Time out settings for DNS services

Posted: Thu Oct 19, 2023 8:10 am
by antonins
Hello,

have you solved your issue and find a way to modify DNS timeout on ESP32 ?

Antonin