Hi all
I used TI CC3200 and it was very easy to get DNS IP after connexion.
I cannot do it with ESP32.
I try to explain what I would wish :
I connect ESP32 as a STA. It well works.
After that, I get from the DHCP of the router : IP address, Gateway address, Netmask... it's ok.
I presume that DHCP sends too the DNS address...but no way to get it.
I try the dns_getserver() and the result is always 0.0.0.0
Please can you help me ?
Best Regards
Joseph
DNS IP server address
- martinayotte
- Posts: 141
- Joined: Fri Nov 13, 2015 4:27 pm
Re: DNS IP server address
Since your ESP is used in STA using DHCP, then it must be a problem with your router ...
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 89 guests