TCP NBNS fix

In FreeRTOS_DNS.c ulNBNSHandlePacket the datalength sent to prvTreatNBNS is incorrect. It is calculated as pxNetworkBuffer->xDataLength - sizeof( UDPPacket_t ) which is wrong because it is already subtracted elsewhere. Is there a better place to send these repairs, or is the forum a good place?

TCP NBNS fix

This is a good place, but please also have a look at AWS/FreeRTOS on github where you find Pull Requests and Issues. I did prepare a pull request for the problem that you describe. Your remark is correct. I’m only missing time right now to add the necessary tests that show that the proposed changes are correct. Here you find the branch where I made the changes to DNS/LLMNR. It also makes FreeRTOS_gethostbyname_a() working again.