45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see misc/tools/kconfig-language.txt.
|
|
#
|
|
|
|
config NETUTILS_DNSCLIENT
|
|
bool "DNS Name resolution"
|
|
default n
|
|
depends on NET && NET_UDP
|
|
---help---
|
|
Enable support for the name resolution.
|
|
|
|
if NETUTILS_DNSCLIENT
|
|
|
|
choice
|
|
prompt "Internet Protocol"
|
|
default NETUTILS_DNSCLIENT_IPv4 if NET_IPv4
|
|
default NETUTILS_DNSCLIENT_IPv6 if NET_IPv6 && !NET_IPv4
|
|
|
|
config NETUTILS_DNSCLIENT_IPv4
|
|
bool "IPv4"
|
|
depends on NET_IPv4
|
|
|
|
config NETUTILS_DNSCLIENT_IPv6
|
|
bool "IPv6"
|
|
depends on NET_IPv6
|
|
|
|
endchoice # Internet Protocol
|
|
|
|
config NETUTILS_DNSCLIENT_ENTRIES
|
|
int "Number of DNS resolver entries"
|
|
default 8
|
|
---help---
|
|
Number of DNS resolver entries. Default: 8
|
|
|
|
config NETUTILS_DNSCLIENT_MAXRESPONSE
|
|
int "Max response size"
|
|
default 96
|
|
---help---
|
|
This setting determines the maximum size of response message that
|
|
can be received by the DNS resolver. The default is 96 but may
|
|
need to be larger on enterprise networks (perhaps 176).
|
|
|
|
endif # NETUTILS_DNSCLIENT
|