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 ifs and menus.)

Default

  • 1

Kconfig definition

At <Zephyr>/subsys/net/lib/dns/Kconfig:55

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:39<Zephyr>/subsys/net/Kconfig:89<Zephyr>/subsys/net/lib/Kconfig:8

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Protocols → DNS resolver

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.)