DNS failure + tcp 2.0.7
Any ideas why subdomain dns would be failing in 2.0.7 + tcp?
Examples would be mobile.google.com vs google.com
DNS failure + tcp 2.0.7
I migrated from 2.0.1, I just copied the files over, perhaps I missed something.
Wireshark shows the query going out and the reply coming in, so somewhere it is getting lost.
DNS failure + tcp 2.0.7
Hi Erik, I will try this out and report back.
DNS failure + tcp 2.0.7
Hi Erik, in your other post I saw your
FreeRTOSIPConfig.h
with the following line:
~~~
define ipconfigDNSCACHENAME_LENGTH ( 16 )
~~~ This limits the maximum length of domain names. If you double this value, you will find a domain like “mobile.google.com”. In FreeRTOS+TCP 2.0.7 there are many more checks for correctness of incoming packets and also bound checking. Note thatipconfigDNS_CACHE_NAME_LENGTH
bytes will be declared on the program stack.
DNS failure + tcp 2.0.7
I had ipconfigDNSCACHENAME_LENGTH set to 16. The older version was hard coded to 128 length so it worked.
DNS failure + tcp 2.0.7
All right, thanks for reporting back!