mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2026-03-07 00:07:22 +00:00
10 lines
407 B
Text
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
|