dotfiles/root/etc/NetworkManager/conf.d/ignore-auto-dns.conf
2026-03-06 14:22:16 +01:00

10 lines
407 B
Text

# Ignore DNS servers advertised by networks (e.g. via DHCP).
#
# This makes NetworkManager refuse automatically provided DNS and lets
# systemd-resolved fall back to the configured global resolvers instead.
#
# Individual connections can override this:
# nmcli connection modify <connection> ipv4.ignore-auto-dns no ipv6.ignore-auto-dns no
[connection]
ipv4.ignore-auto-dns=true
ipv6.ignore-auto-dns=true