The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_NET_HOSTNAME_ENABLE

Add hostname to the device

Type: bool

Help

This is used for example in mDNS to respond to <hostname>.local
mDNS queries.

Direct dependencies

NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/net/Kconfig.hostname:6

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:39subsys/net/Kconfig:85

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

config NET_HOSTNAME_ENABLE
    bool "Add hostname to the device"
    depends on NETWORKING
    help
      This is used for example in mDNS to respond to <hostname>.local
      mDNS queries.

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