mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2026-03-16 11:37:23 +00:00
21 lines
806 B
Text
21 lines
806 B
Text
# Do not send the system hostname to DHCP servers.
|
|
#
|
|
# By default NetworkManager includes the system hostname in DHCP
|
|
# requests so the DHCP server can label leases or register dynamic DNS
|
|
# records. Many networks do not use this information, and sending it
|
|
# unnecessarily exposes device identity.
|
|
#
|
|
# Disabling this slightly improves privacy when joining unknown
|
|
# networks, especially when MAC randomization is enabled.
|
|
#
|
|
# Individual connections can override this if needed:
|
|
# nmcli connection modify <connection> ipv4.dhcp-send-hostname yes
|
|
# nmcli connection modify <connection> ipv6.dhcp-send-hostname yes
|
|
|
|
[ipv4]
|
|
dhcp-send-hostname=false
|
|
|
|
[ipv6]
|
|
# Only applies on networks using DHCPv6. Most IPv6 networks use SLAAC
|
|
# instead, in which case this setting has no effect.
|
|
dhcp-send-hostname=false
|