1# DHCPv4 server implementation for Zephyr
2
3# Copyright (c) 2024 Nordic Semiconductor ASA
4#
5# SPDX-License-Identifier: Apache-2.0
6
7
8# Copyright (c) 2024 Nordic Semiconductor ASA
9#
10# SPDX-License-Identifier: Apache-2.0
11
12config NET_DHCPV6
13	bool "DHCPv6 client"
14	select NET_MGMT
15	select NET_MGMT_EVENT
16	depends on NET_IPV6 && NET_UDP
17
18config NET_DHCPV6_DUID_MAX_LEN
19	int "The maximum DUID length (not including a type code)"
20	range 1 128
21	default 22
22	help
23	  This will set the available number of bytes for the DUID.
24
25config NET_DHCPV6_OPTION_DNS_ADDRESS
26	bool "Use DNS Recursive Name Server option to configure DNS resolver"
27	default y
28	depends on DNS_RESOLVER
29	help
30	  If enabled, the DHCPv6 client will request DNS Recursive Name Server
31	  option from the server, and if available, use obtained information
32	  to configure DNS resolver.
33
34if NET_DHCPV6
35module = NET_DHCPV6
36module-dep = NET_LOG
37module-str = Log level for DHCPv6 client
38module-help = Enables DHCPv6 client code to output debug messages.
39source "subsys/net/Kconfig.template.log_config.net"
40endif # NET_DHCPV6
41