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 if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/net/Kconfig.hostname:9

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:24subsys/net/Kconfig:78

Menu path: (top menu) → Networking → Link layer and IP networking support

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

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