:orphan: .. title:: CONFIG_NET_SOCKETS_DNS_TIMEOUT .. kconfig:: CONFIG_NET_SOCKETS_DNS_TIMEOUT CONFIG_NET_SOCKETS_DNS_TIMEOUT ############################## *Timeout value in milliseconds for DNS queries* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`DNS_RESOLVER ` && \ :kconfig:`NET_SOCKETS ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - 2000 Kconfig definition ================== At ``/net/lib/sockets/Kconfig:47`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:89`` → ``/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 .. code-block:: kconfig config NET_SOCKETS_DNS_TIMEOUT int "Timeout value in milliseconds for DNS queries" range 1000 300000 default 2000 depends on DNS_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.)*