friesen wrote on Thursday, September 27, 2018:
Any ideas why subdomain dns would be failing in 2.0.7 + tcp?
Examples would be mobile.google.com vs google.com
friesen wrote on Thursday, September 27, 2018:
Any ideas why subdomain dns would be failing in 2.0.7 + tcp?
Examples would be mobile.google.com vs google.com
friesen wrote on Thursday, September 27, 2018:
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.
heinbali01 wrote on Thursday, September 27, 2018:
Hi Erik, in your other post I saw your FreeRTOSIPConfig.h
with the following line:
#define ipconfigDNS_CACHE_NAME_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 that ipconfigDNS_CACHE_NAME_LENGTH
bytes will be declared on the program stack.
friesen wrote on Thursday, September 27, 2018:
I had ipconfigDNS_CACHE_NAME_LENGTH set to 16. The older version was hard coded to 128 length so it worked.