aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-04-14 23:08:05 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-04-14 23:08:05 +0300
commit35e2296c97803d9be1fb63928e6b0d6ec371cdfb (patch)
treecf9ac8b6c657f7380b960b68cc911dce76ca1b2a /system
parentdb267f6df2f068e33d5cb1ea3b3ff2eefcea43b8 (diff)
downloadswayrice-35e2296c97803d9be1fb63928e6b0d6ec371cdfb.tar.gz
swayrice-35e2296c97803d9be1fb63928e6b0d6ec371cdfb.zip
Configure NM to use dnsmasq
Diffstat (limited to 'system')
-rw-r--r--system/NetworkManager/NetworkManager.conf2
-rw-r--r--system/NetworkManager/dnsmasq.d/dnsmasq.conf7
-rw-r--r--system/resolvconf.conf7
3 files changed, 8 insertions, 8 deletions
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
diff --git a/system/resolvconf.conf b/system/resolvconf.conf
deleted file mode 100644
index 881849f..0000000
--- a/system/resolvconf.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-# Configuration for resolvconf(8)
-# See resolvconf.conf(5) for details
-
-resolv_conf=/etc/resolv.conf
-# If you run a local name server, you should uncomment the below line and
-# configure your subscribers configuration files below.
-name_servers="1.1.1.1"