Revert "lib/netdb: Change the default NETDB_DNSCLIENT_NAMESIZE to NAME_MAX"

This reverts commit 3724f6be55.

Because there is no real correlation between DNS namesize and NAME_MAX
as far as I know. The former is about network and the latter is about
filesystem. While they might happen to be similar values for
some configurations, it's very confusing to use them this way.
This commit is contained in:
YAMAMOTO Takashi 2021-10-29 12:43:25 +09:00 committed by Xiang Xiao
parent 5a69445ae9
commit 3097f62511

View File

@ -83,7 +83,7 @@ config NETDB_DNSCLIENT_ENTRIES
config NETDB_DNSCLIENT_NAMESIZE
int "Max size of a cached hostname"
default NAME_MAX
default 32
---help---
The size of a hostname string in the DNS resolver cache is fixed.
This setting provides the maximum size of a hostname. Names longer