1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/application_layer/dns/Kconfig
Martine Lenders 8bec9c1115
sock_dns_cache: move to dns_cache
Also piggy-back some fixes to the unittests and submodule handling
2022-07-18 15:27:58 +02:00

53 lines
1.2 KiB
Plaintext

# 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
menuconfig KCONFIG_USEMODULE_DNS_CACHE
bool "Configure DNS cache"
depends on USEMODULE_DNS_CACHE
help
Configure DNS cache using Kconfig.
if KCONFIG_USEMODULE_DNS_CACHE
config DNS_CACHE_SIZE
int "Maximum number of DNS cache entries"
default 4
config DNS_CACHE_A
bool "Handle to cache A records"
default y if USEMODULE_IPV4
default n
config DNS_CACHE_AAAA
bool "Handle to cache AAAA records"
default y if USEMODULE_IPV6
default n
endif # KCONFIG_USEMODULE_DNS_SIZE
endif # KCONFIG_USEMODULE_DNS