-
CONFIG_NET_SOCKETS_DNS_TIMEOUT
¶
Timeout value in milliseconds for DNS queries
Type: int
Help¶
This variable specifies time in milliseconds after which DNS query is considered timeout. Minimum timeout is 1 second and maximum timeout is 5 min.
Direct dependencies¶
DNS_RESOLVER
&& NET_SOCKETS
&& NETWORKING
(Includes any dependencies from ifs and menus.)
Default¶
2000
Kconfig definition¶
At <Zephyr>/subsys/net/lib/sockets/Kconfig:39
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:34
→ <Zephyr>/subsys/net/Kconfig:89
→ <Zephyr>/subsys/net/lib/Kconfig:30
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Libraries → BSD Sockets compatible API
config NET_SOCKETS_DNS_TIMEOUT int "Timeout value in milliseconds for DNS queries" range 1000 300000 default 2000 depends onDNS_RESOLVER
&&NET_SOCKETS
&&NETWORKING
help This variable specifies time in milliseconds after which DNS query is considered timeout. Minimum timeout is 1 second and maximum timeout is 5 min.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)