1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/net/application_layer/dns/Kconfig

53 lines
1.2 KiB
Plaintext
Raw Normal View History

2022-07-18 11:43:35 +02:00
# 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
2022-07-18 11:43:35 +02:00
endif # KCONFIG_USEMODULE_DNS