Time out settings for DNS services

prvermas
Posts: 11
Joined: Wed Oct 09, 2019 7:20 pm

Time out settings for DNS services

Postby prvermas » Wed Jun 14, 2023 10:40 am

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.

antonins
Posts: 11
Joined: Sun Feb 12, 2023 12:45 pm

Re: Time out settings for DNS services

Postby antonins » Thu Oct 19, 2023 8:10 am

Hello,

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

Antonin

Who is online

Users browsing this forum: No registered users and 196 guests