summaryrefslogtreecommitdiff
path: root/apps/netutils/dnsclient/Kconfig
blob: f3d622cbfbd576763df4bad7a891ff33f382b5e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# 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