From 0a567c3c29b76d28fd8dbfe6e21c147334d79c68 Mon Sep 17 00:00:00 2001 From: wangyingdong Date: Mon, 28 Aug 2023 12:03:57 +0800 Subject: [PATCH] change the default NETDB_DNSCLIENT_MAXRESPONSE to the standard length the size of the dns response buffer https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-respsize-12 Signed-off-by: wangyingdong --- libs/libc/netdb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/netdb/Kconfig b/libs/libc/netdb/Kconfig index 840195d13c..797ceaceb6 100644 --- a/libs/libc/netdb/Kconfig +++ b/libs/libc/netdb/Kconfig @@ -116,7 +116,7 @@ config NETDB_DNSCLIENT_LIFESEC config NETDB_DNSCLIENT_MAXRESPONSE int "Max response size" - default NETDB_BUFSIZE + default 512 ---help--- This setting determines the maximum size of response message that can be received by the DNS resolver. The default used to be 96,