mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2026-03-07 00:07:22 +00:00
Add explicit DNS settings
This commit is contained in:
parent
7ef167338e
commit
be5d7e36fb
2 changed files with 58 additions and 0 deletions
10
root/etc/NetworkManager/conf.d/ignore-auto-dns.conf
Normal file
10
root/etc/NetworkManager/conf.d/ignore-auto-dns.conf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue