This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_DNS_SERVER_IP_ADDRESSES

Set DNS server IP addresses

Type: bool

Help

Allow DNS IP addresses to be set in config file for
networking applications.

Direct dependencies

DNS_RESOLVER && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

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

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:39subsys/net/Kconfig:89subsys/net/lib/Kconfig:8

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

menuconfig DNS_SERVER_IP_ADDRESSES
    bool "Set DNS server IP addresses"
    depends on DNS_RESOLVER && NETWORKING
    help
      Allow DNS IP addresses to be set in config file for
      networking applications.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)