I develop some stuff with ESP8266EX, module ESP01 with AT commands,and I have strange problem with DNS Fail. I have five ESP01 modules with 8Mbit flash,In all module is newest ( 1.5.3 ) same firmware and four modules have error ( DNS Fail )and one module is working good ?!?!?! AT+PING=“whatever.com“ also have an error. Ping local network address is OK.All module is connected to same router ( Technicolor MediaAccess TG788vn )
When i buy module, all are working properly. Im testing all module with same board with same firmware on it.
What is the problem ??? I am desperate ?How do I set DNS with AT commands ?
Where is DNS server address in hex ? Please help about this error. See AT commands and answers below !
Any idea ??? I think thet Im not the only one with this error.
Best regards
Kreso
;-------- AT LISTING --------------
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 27716, room 16
tail 4
chksum 0xbf
load 0x3ffe8000, len 2108, room 4
tail 8
chksum 0xdb
load 0x3ffe8840, len 9272, room 0
tail 8
chksum 0xb3
csum 0xb3
rlŽ‚rlŒžâŒb[0C]þ
ready
AT+GMR
AT version:1.0.0.0(Apr 16 2016 13:02:45)
SDK version:1.5.3(aec24ac9)
compile time:Apr 18 2016 14:11:24
OK
AT+CWMODE_CUR=1
OK
AT+CIPSTA_DEF="192.168.1.155","192.168.1.1","255.255.255.0"
OK
AT+CWDHCP_DEF=1,0
OK
AT+CWLAPOPT=1,127
OK
AT+CWLAP
+CWLAP:(4,"ISKONOVAC-04F457",-92,"78:8c:54:04:f4:58",1,-12,0)
+CWLAP:(3,"Doma27",-50,"30:91:8f:a4:83:6d",5,8,0)
+CWLAP:(3,"Link-G",-84,"e8:94:f6:ca:9d:88",12,46,0)
OK
AT+CWJAP_CUR="Doma27","xxxxxxxxxxx"
WIFI CONNECTED
WIFI GOT IP
OK
AT+CIPMUX=1
OK
AT+CIPSERVER=1,8081
OK
AT+CIFSR
+CIFSR:STAIP,"192.168.1.155"
+CIFSR:STAMAC,"18:fe:34:a0:f2:00"
OK
AT+CIPSTA_DEF?
+CIPSTA_DEF:ip:"192.168.1.155"
+CIPSTA_DEF:gateway:"192.168.1.1"
+CIPSTA_DEF:netmask:"255.255.255.0"
OK
AT+CIPSTA_CUR?
+CIPSTA_CUR:ip:"192.168.1.155"
+CIPSTA_CUR:gateway:"192.168.1.1"
+CIPSTA_CUR:netmask:"255.255.255.0"
OK
AT+PING="192.168.1.100"
+81
OK
AT+CIPSTO=12
OK
AT+CIPSTART=0,"TCP","www.trackip.net",80
DNS Fail
ERROR
AT+CIPSTART=0,"TCP","freegeoip.net",80
DNS Fail
ERROR
AT+CIPSTART=0,"TCP","jsonip.com",80
DNS Fail
ERROR
AT+CIPSTART=0,"TCP","ipinfo.io",80
DNS Fail
ERROR
;-------------- END --------------------------