:orphan: .. title:: CONFIG_DNS_RESOLVER_MAX_SERVERS .. kconfig:: CONFIG_DNS_RESOLVER_MAX_SERVERS CONFIG_DNS_RESOLVER_MAX_SERVERS ############################### *Number of DNS server addresses* Type: ``int`` Help ==== .. code-block:: none Max number of DNS servers that we can connect to. Normally one DNS server is enough. Each connection to DNS server will use one network context. Direct dependencies =================== \ :kconfig:`DNS_RESOLVER ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - 1 Kconfig definition ================== At ``/net/lib/dns/Kconfig:55`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:89`` → ``/net/lib/Kconfig:8`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Protocols → DNS resolver .. code-block:: kconfig config DNS_RESOLVER_MAX_SERVERS int "Number of DNS server addresses" range 1 NET_MAX_CONTEXTS default 1 depends on DNS_RESOLVER && NETWORKING help Max number of DNS servers that we can connect to. Normally one DNS server is enough. Each connection to DNS server will use one network context. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*