generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 206
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When ipconfigUSE_DNS_CACHE == 1, the DNS module fails to resolve domain names longer than ipconfigDNS_CACHE_NAME_LENGTH (default 16). The lookup is rejected by this line.
To Reproduce
- Configure project with
ipconfigUSE_DNS_CACHE 1andipconfigDNS_CACHE_NAME_LENGTH 16 - Call
FreeRTOS_gethostbyname()with a name longer than 16 bytes. - The call returns 0
Expected behavior
The name resolution should succeed. The name limit should apply only to caching the response, but the DNS resolution should still happen.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working