fix(examples): Make multi-netif example working with DNS_PER_DEFAULT_NETIF feature

This commit is contained in:
David Cermak
2024-07-08 10:25:24 +02:00
parent b710dbd2ad
commit bc8ac4c684
7 changed files with 47 additions and 14 deletions

View File

@@ -54,4 +54,14 @@ menu "Example Configuration"
bool "Using simple UART-PPP driver"
endchoice
config EXAMPLE_DEMONSTRATE_DNS_CLEAR_CACHE
bool "Run DNS clear cache"
default n
help
This example will cleanup the DNS cache
every iteration of the demo network operation.
This forces the TCP/IP stack to always resolve DNS names,
thus exercising potentially invalid DNS configuration.
Set this to "y" for testing, but keep as "n" for production.
endmenu