CONFIG_DNS_RESOLVER_MAX_SERVERS

Number of DNS server addresses

Type: int

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.

Direct dependencies

DNS_RESOLVER && NETWORKING

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/net/lib/dns/Kconfig:49

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:24subsys/net/Kconfig:84subsys/net/lib/Kconfig:11

Menu path: (top menu) → Networking → Link layer and IP networking support → Network Protocols → DNS resolver

config DNS_RESOLVER_MAX_SERVERS
    int
    prompt "Number of DNS server addresses" if DNS_RESOLVER && NETWORKING
    range 1 NET_MAX_CONTEXTS if DNS_RESOLVER && NETWORKING
    default 1 if DNS_RESOLVER && NETWORKING
    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.

(Definitions include propagated dependencies, including from if’s and menus.)