1# General config
2CONFIG_NEWLIB_LIBC=y
3
4# Networking config
5CONFIG_NETWORKING=y
6CONFIG_NET_TEST=y
7CONFIG_NET_DRIVERS=y
8CONFIG_NET_LOOPBACK=y
9CONFIG_NET_IPV4=y
10CONFIG_NET_IPV6=y
11CONFIG_NET_SOCKETS=y
12CONFIG_NET_SOCKETS_POSIX_NAMES=y
13
14# Network driver config
15CONFIG_TEST_RANDOM_GENERATOR=y
16
17# Enable the DNS resolver
18CONFIG_DNS_RESOLVER=y
19CONFIG_DNS_SERVER_IP_ADDRESSES=y
20
21# Use local dnsmasq server for testing
22CONFIG_DNS_SERVER1="[2001:db8::2]:15353"
23CONFIG_DNS_SERVER2="192.0.2.2:15353"
24
25CONFIG_MAIN_STACK_SIZE=2048
26CONFIG_ZTEST=y
27CONFIG_ZTEST_NEW_API=y
28
29# User mode requirements
30CONFIG_TEST_USERSPACE=y
31CONFIG_HEAP_MEM_POOL_SIZE=128
32