From 52d6bbea510f6685916bdfca5fd2f6a5b5139d18 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 2 Jun 2015 10:43:27 +1000 Subject: [PATCH] lwip config: Reduce default DNS result cache size to save RAM --- lwip/include/lwipopts.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lwip/include/lwipopts.h b/lwip/include/lwipopts.h index 0cdd8d9..d958ba6 100644 --- a/lwip/include/lwipopts.h +++ b/lwip/include/lwipopts.h @@ -196,6 +196,9 @@ */ #define LWIP_DNS 1 +#define DNS_TABLE_SIZE 1 +#define DNS_MAX_NAME_LENGTH 128 + /* --------------------------------- ---------- UDP options ----------