1# Hostname config 2 3# Copyright (c) 2017 Intel Corporation. 4# SPDX-License-Identifier: Apache-2.0 5 6config NET_HOSTNAME_ENABLE 7 bool "Add hostname to the device" 8 help 9 This is used for example in mDNS to respond to <hostname>.local 10 mDNS queries. 11 12if NET_HOSTNAME_ENABLE 13 14config NET_HOSTNAME 15 string "The hostname of this device" 16 default "zephyr" 17 help 18 The string should be a valid hostname. 19 20config NET_HOSTNAME_UNIQUE 21 bool "Make hostname unique" 22 help 23 This will append link address to hostname to create a unique 24 hostname. For example, zephyr00005e005357 could be the hostname 25 if this setting is enabled. 26 27config NET_HOSTNAME_UNIQUE_UPDATE 28 bool "Update unique hostname" 29 depends on NET_HOSTNAME_UNIQUE 30 help 31 This will update the unique hostname on link address changes. By 32 default, this option is disabled, which means the unique hostname 33 is set once at start-up and is not updated afterwards. 34 35module = NET_HOSTNAME 36module-dep = NET_LOG 37module-str = Log level for hostname configuration 38module-help = Enables hostname configuration code to output debug messages. 39source "subsys/net/Kconfig.template.log_config.net" 40 41endif 42