diff --git a/sys/net/application_layer/Kconfig b/sys/net/application_layer/Kconfig index 3f690d17f2..59c6701441 100644 --- a/sys/net/application_layer/Kconfig +++ b/sys/net/application_layer/Kconfig @@ -14,6 +14,7 @@ endmenu # CoAP rsource "cord/Kconfig" rsource "dhcpv6/Kconfig" +rsource "dns/Kconfig" menu "MQTT-SN" diff --git a/sys/net/application_layer/dns/Kconfig b/sys/net/application_layer/dns/Kconfig new file mode 100644 index 0000000000..f9e234d612 --- /dev/null +++ b/sys/net/application_layer/dns/Kconfig @@ -0,0 +1,28 @@ +# Copyright (c) 2022 Freie Universitaet Berlin +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +menuconfig KCONFIG_USEMODULE_DNS + bool "Configure DNS" + depends on USEMODULE_DNS + help + Configure DNS using Kconfig. + +if KCONFIG_USEMODULE_DNS +menuconfig KCONFIG_USEMODULE_DNS_MSG + bool "Configure DNS message parser and composer" + depends on USEMODULE_DNS_MSG + help + Configure DNS message parser and composer using Kconfig. + +if KCONFIG_USEMODULE_DNS_MSG + +config DNS_MSG_LEN + int "Maximum DNS message length" + default 128 + +endif # KCONFIG_USEMODULE_DNS_MSG +endif # KCONFIG_USEMODULE_DNS