:orphan: .. title:: CONFIG_NET_HOSTNAME_ENABLE .. kconfig:: CONFIG_NET_HOSTNAME_ENABLE CONFIG_NET_HOSTNAME_ENABLE ########################## *Add hostname to the device* Type: ``bool`` Help ==== .. code-block:: none This is used for example in mDNS to respond to .local mDNS queries. Direct dependencies =================== \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/net/Kconfig.hostname:6`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:83`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support .. code-block:: kconfig config NET_HOSTNAME_ENABLE bool "Add hostname to the device" depends on NETWORKING help This is used for example in mDNS to respond to .local mDNS queries. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*