mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2026-03-16 11:37:23 +00:00
12 lines
564 B
Text
12 lines
564 B
Text
# Do not send the system hostname to DHCP servers.
|
|
#
|
|
# Normally NetworkManager includes the hostname in DHCP requests so the
|
|
# server can label leases or register dynamic DNS entries. Most networks
|
|
# do not rely on this, and disabling it slightly reduces information
|
|
# leaked about the device (especially when MAC randomization is used).
|
|
#
|
|
# Individual connections can override this if needed:
|
|
# nmcli connection modify <connection> ipv4.dhcp-send-hostname yes ipv6.dhcp-send-hostname yes
|
|
[connection]
|
|
ipv4.dhcp-send-hostname=false
|
|
ipv6.dhcp-send-hostname=false
|