From 35e2296c97803d9be1fb63928e6b0d6ec371cdfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 14 Apr 2021 23:08:05 +0300 Subject: Configure NM to use dnsmasq --- system/NetworkManager/NetworkManager.conf | 2 +- system/NetworkManager/dnsmasq.d/dnsmasq.conf | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 system/NetworkManager/dnsmasq.d/dnsmasq.conf (limited to 'system/NetworkManager') diff --git a/system/NetworkManager/NetworkManager.conf b/system/NetworkManager/NetworkManager.conf index c48e647..dc1c41d 100644 --- a/system/NetworkManager/NetworkManager.conf +++ b/system/NetworkManager/NetworkManager.conf @@ -1,4 +1,4 @@ # Configuration file for NetworkManager. # See "man 5 NetworkManager.conf" for details. [main] -dns=none +dns=dnsmasq diff --git a/system/NetworkManager/dnsmasq.d/dnsmasq.conf b/system/NetworkManager/dnsmasq.d/dnsmasq.conf new file mode 100644 index 0000000..6ff5be8 --- /dev/null +++ b/system/NetworkManager/dnsmasq.d/dnsmasq.conf @@ -0,0 +1,7 @@ +cache-size=500 +max-cache-ttl=900 +listen-address=::1 +strict-order +server=1.1.1.1 +server=1.0.0.1 +server=/lis/10.0.14.1 -- cgit v1.2.3