AT v0.50 DNS FAIL
Re: AT v0.50 DNS FAIL
Postby ESP_Faye » Mon Nov 30, 2015 4:55 pm
Hi,
We bought a "TL-MR3020", but we still can not duplicate this problem.
The "DNS Fail" only happened when the router does not able to access WAN.
Could you please provide the WiFi settings of your router ?
We bought a "TL-MR3020", but we still can not duplicate this problem.
The "DNS Fail" only happened when the router does not able to access WAN.
Could you please provide the WiFi settings of your router ?
Re: AT v0.50 DNS FAIL
Postby sukarsa » Thu Dec 10, 2015 1:11 am
Hi Faye,
Sorry for the delay,
As I mentionned earler, the TL-MR3020 was on Wifi-mode : WISP Client Router
It is connected to a wifi provider (another wifi router), for example in a hotel.
A computer connected to MR3020 can connect to the internet.
Please be reminded that I tried different DNS setting on the TL-MR3020 and there is no improvement.
Is ESP8266 connect to the DNS given by the router or is it using it's own DNS?
Please find attached the setting of TL-MR3020.
Regards.
Sorry for the delay,
As I mentionned earler, the TL-MR3020 was on Wifi-mode : WISP Client Router
It is connected to a wifi provider (another wifi router), for example in a hotel.
A computer connected to MR3020 can connect to the internet.
Please be reminded that I tried different DNS setting on the TL-MR3020 and there is no improvement.
Is ESP8266 connect to the DNS given by the router or is it using it's own DNS?
Please find attached the setting of TL-MR3020.
Regards.
Re: AT v0.50 DNS FAIL
Postby ESP_Faye » Wed Dec 16, 2015 5:01 pm
Hi,
We tested "TL-MR3020" as your settings, but sorry that we still can not duplicate your problem.
Could you try it with another "TL-MR3020" or provide the captured WiFi packets for debugging ?
We tested "TL-MR3020" as your settings, but sorry that we still can not duplicate your problem.
Could you try it with another "TL-MR3020" or provide the captured WiFi packets for debugging ?
Re: AT v0.50 DNS FAIL
Postby sukarsa » Fri Dec 18, 2015 7:06 pm
Hi Faye,
.
I may not have the proper tools to monitor wifi packets. I will try to test this later.
.
There is one question that you have not answer: Is ESP8266 using the DNS setting given by the router?
Because I tried to change the values and it has no effect. If ESP8266 is using a fixed-ip DNS, then the MR3020 problem may be related to the place (where I tested it).
That explains that you can not reproduce the problem over there.
.
In any case, if we want to have ESP8266 as a serious industrial product, then either it MUST use the DNS given by router, or you MUST develop DNS setting command.
In a closed IP network it is NOT possible to use a fixed-IP DNS, and there is already one possible client where I might have to deploy it in their premise.
Please consider.
.
I may not have the proper tools to monitor wifi packets. I will try to test this later.
.
There is one question that you have not answer: Is ESP8266 using the DNS setting given by the router?
Because I tried to change the values and it has no effect. If ESP8266 is using a fixed-ip DNS, then the MR3020 problem may be related to the place (where I tested it).
That explains that you can not reproduce the problem over there.
.
In any case, if we want to have ESP8266 as a serious industrial product, then either it MUST use the DNS given by router, or you MUST develop DNS setting command.
In a closed IP network it is NOT possible to use a fixed-IP DNS, and there is already one possible client where I might have to deploy it in their premise.
Please consider.
Re: AT v0.50 DNS FAIL
Postby sukarsa » Thu Feb 18, 2016 5:47 am
Hi Faye,
Sorry for the late reply, just got back from field testing.
I think the connection problem that I observed also in the field is due to DNS problem, because it was passing through private network. When I tried through 3G network (another router) it was working fine.
.
I would appreciate it if you can give me the command line to change the dns server.
Is there access to this "espconn_dns_setserver" API from the serial port / AT command?
FYI : We are planning to use WROOM-02 for production. (Does it have newer AT command?)
.
Thanks for your help.
Sorry for the late reply, just got back from field testing.
I think the connection problem that I observed also in the field is due to DNS problem, because it was passing through private network. When I tried through 3G network (another router) it was working fine.
.
I would appreciate it if you can give me the command line to change the dns server.
Is there access to this "espconn_dns_setserver" API from the serial port / AT command?
FYI : We are planning to use WROOM-02 for production. (Does it have newer AT command?)
.
Thanks for your help.
Re: AT v0.50 DNS FAIL
Postby damijans » Wed Nov 16, 2016 2:41 am
A year after, I had the same problem. I was fighting with it for a day and finally I found the issue was in typo mistake. After entering "goog " (with space character at the end) I have deleted the last space with delete key and continue writing the URL. In minicom terminal I saw correct "google" token, but in fact minicom forward to the ESP the following sequence "103 111 111 103 30 8 108 101" instead of "103 111 111 103 108 101", what reflects in "DNS fail" error code.
But probably, this is not the same issue as you had
But probably, this is not the same issue as you had
Who is online
Users browsing this forum: No registered users and 186 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.